mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
util.promise: Remove line that was supposed to be removed in eb9814372c54
This commit is contained in:
parent
aed0c1c5ab
commit
a79238fb37
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ end
|
||||||
|
|
||||||
local function new_resolve_functions(p)
|
local function new_resolve_functions(p)
|
||||||
local function _resolve(v)
|
local function _resolve(v)
|
||||||
resolved = true;
|
|
||||||
if is_promise(v) then
|
if is_promise(v) then
|
||||||
v:next(new_resolve_functions(p));
|
v:next(new_resolve_functions(p));
|
||||||
elseif promise_settle(p, "fulfilled", next_fulfilled, p._pending_on_fulfilled, v) then
|
elseif promise_settle(p, "fulfilled", next_fulfilled, p._pending_on_fulfilled, v) then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue