summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-19 11:30:06 +0800
committerOpportunityLiu <[email protected]>2019-06-19 11:30:06 +0800
commitd5ad005f6c8a79af48f4c73f0ec87775ab746d0d (patch)
treeeefdd667a032d9732481b61cff3b4d860853ca8f /xmake/plugins/lua
parent5c06711d12932c02ab7b64a25135902fabf00675 (diff)
improve dump
Diffstat (limited to 'xmake/plugins/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