From a6cf220cb27e8c06e07fdc23a601fd2bc99a0888 Mon Sep 17 00:00:00 2001 From: hjmmc Date: Sat, 29 Sep 2018 15:29:48 +0800 Subject: [PATCH] revert... --- lua-promise.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua-promise.lua b/lua-promise.lua index 5ec6e0b..a14855a 100644 --- a/lua-promise.lua +++ b/lua-promise.lua @@ -14,7 +14,7 @@ Promise = { Promise.__index = Promise function Promise.new(excutor) - local self = {} + self = {} setmetatable(self, Promise) local _resolve = function (value)