diff options
| -rw-r--r-- | xmake/core/base/global.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
