From d5ad005f6c8a79af48f4c73f0ec87775ab746d0d Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Wed, 19 Jun 2019 11:30:06 +0800 Subject: improve dump --- xmake/plugins/lua/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins/lua/xmake.lua') 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 -- cgit v1.3.1