summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-20 00:37:23 +0800
committerruki <[email protected]>2019-06-19 21:44:21 +0800
commit368904bc150e3aeee0e906674a00f84cdd81f303 (patch)
treeb6a91ef459bcd4b5411a0c01fd1948a5e8d1712d /xmake/core/base/table.lua
parentfe78b1755a16442fb91eba7cc232cd4446f755ee (diff)
modify code style
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 3fd35c082..74b4723c2 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -258,7 +258,7 @@ end
-- pack arguments into a table
function table.pack(...)
- return { n = select("#", ...), ... }
+ return { len = select("#", ...), ... }
end
-- unpack table values