Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Jan 31, 2025
1 parent 5994086 commit 3bd63e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/commons/async.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ local function execute(async_fn, ...)
return
end

assert(type(err_or_fn) == "function", "type error :: expected func")
assert(type(err_or_fn) == "function", "The 1st parameter must be a lua function")

local ret_fn = err_or_fn
local args = { select(4, unpack(ret)) }
Expand Down

0 comments on commit 3bd63e5

Please sign in to comment.