summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
-rw-r--r--xmake/plugins/lua/xmake.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua
index 77833e9a3..2789bf26a 100644
--- a/xmake/plugins/lua/xmake.lua
+++ b/xmake/plugins/lua/xmake.lua
@@ -69,12 +69,7 @@ task("lua")
else
-- run modules (xmake lua core.xxx.xxx)
- local result = import(script)(unpack(option.get("arguments") or {}))
- if type(result) == "table" then
- table.dump(table)
- elseif result ~= nil then
- print(result)
- end
+ print(import(script)(unpack(option.get("arguments") or {})))
end
else
-- enter interactive mode