mirror of
https://github.com/AmberGraceRblx/luau-promise.git
synced 2025-04-24 23:50:03 +00:00
Update init.lua
This commit is contained in:
parent
e1e183d632
commit
4e6b0de633
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ end
|
||||||
--[[
|
--[[
|
||||||
Returns first value (success), and packs all following values.
|
Returns first value (success), and packs all following values.
|
||||||
]]
|
]]
|
||||||
local function packResult(...)
|
local function packResult(success, ...)
|
||||||
return ..., pack(select(2, ...))
|
return success, select("#", ...), { ... }
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
Loading…
Reference in a new issue