From e3a558f07ff4da49ab1292262a845d547b988d82 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 25 Oct 2018 14:16:14 +0100 Subject: util.promise: Remove debug print and assert --- util/promise.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/util/promise.lua b/util/promise.lua index b1c6be02..3c3cc4df 100644 --- a/util/promise.lua +++ b/util/promise.lua @@ -51,7 +51,6 @@ local function new_resolve_functions(p) if resolved then return; end resolved = true; if is_promise(e) then - print ("WOAH") assert(false) e:next(new_resolve_functions(p)); elseif promise_settle(p, "rejected", next_rejected, p._pending_on_rejected, e) then p.reason = e; -- cgit v1.2.3