summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-18 21:06:10 +0800
committerruki <[email protected]>2016-03-18 21:06:10 +0800
commit9b70f476c9e8603ff3d595490b9a7186a996fbe7 (patch)
tree49978712358251f593f727c9f816562a213a68ad /xmake/core/base/table.lua
parent413190f470fd28db5fb3f1c75a2b90183a327197 (diff)
wrap pairs and ipairs for sandbox module
Diffstat (limited to 'xmake/core/base/table.lua')
-rw-r--r--xmake/core/base/table.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua
index 5d0bc399a..c99985dab 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -267,7 +267,7 @@ end
function table.wrap(object)
-- no object?
- if not object then
+ if nil == object then
return {}
end