From cd2a5d9e32758de3518a8bf6a55415d4552ef711 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 29 Jan 2016 13:54:27 +0800 Subject: fix set global value --- xmake/core/base/global.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/base/global.lua b/xmake/core/base/global.lua index 0017590c6..f0d76e7be 100644 --- a/xmake/core/base/global.lua +++ b/xmake/core/base/global.lua @@ -85,7 +85,7 @@ function global.set(name, value) -- check assert(global._CURRENT and global._CONFIGS) - assert(name and value and type(value) ~= "table") + assert(name and value ~= nil and type(value) ~= "table") -- set it to the current configure global._CURRENT[name] = value -- cgit v1.3.1