summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-12 23:10:19 +0800
committerruki <[email protected]>2018-11-12 13:01:54 +0800
commit0d6defd8520b2a93e02a5872a067a611d1b839cc (patch)
treee65c3bd8a99326bd33ec5010f56d3a8fe0939f7c /xmake/core/base/table.lua
parent377840c51da27c07f9d94caf458f99eb197798e3 (diff)
lazy loading platform
Diffstat (limited to 'xmake/core/base/table.lua')
-rw-r--r--xmake/core/base/table.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua
index de024ff2b..f6e34c628 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -267,8 +267,6 @@ function table.unwrap(object)
if type(object) == "table" then
if #object == 1 then
return object[1]
- elseif #object == 0 then
- return
end
end
return object