summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-19 16:00:57 +0800
committerGitHub <[email protected]>2019-06-19 16:00:57 +0800
commit526556809d220564e6565fbe2c6deec723c9f343 (patch)
tree8746466d5a31961a116bae3bf640c1fe32412305 /xmake/plugins/lua/xmake.lua
parent5c06711d12932c02ab7b64a25135902fabf00675 (diff)
parentd9a5e75f51b12370a6ff8e15ad0c37f23ce3edb8 (diff)
Merge pull request #458 from OpportunityLiu/dev
improve dump
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
-rw-r--r--xmake/plugins/lua/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua
index 26067e90e..32c929001 100644
--- a/xmake/plugins/lua/xmake.lua
+++ b/xmake/plugins/lua/xmake.lua
@@ -81,7 +81,7 @@ task("lua")
-- run imported modules (xmake lua core.xxx.xxx)
result = import(script, {anonymous = true})(unpack(option.get("arguments") or {}))
end
- if result ~= nil then print(result) end
+ if result ~= nil then utils.dump(result) end
end
else
-- enter interactive mode