diff options
| author | ruki <[email protected]> | 2016-01-29 14:42:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-01-29 14:42:14 +0800 |
| commit | ab96470320b517db5eda8edfe36054e9741a2d4c (patch) | |
| tree | d85888da5a8e55c885cc05ab23da76781459fb6d | |
| parent | cd2a5d9e32758de3518a8bf6a55415d4552ef711 (diff) | |
remove value assert
| -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 |
