From ab96470320b517db5eda8edfe36054e9741a2d4c Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 29 Jan 2016 14:42:14 +0800 Subject: remove value assert --- 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 f0d76e7be..fa890817e 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 ~= nil and type(value) ~= "table") + assert(name and type(value) ~= "table") -- set it to the current configure global._CURRENT[name] = value -- cgit v1.3.1