From 9d5bd8e4576431ffe3cbfb63be33dedacc32223f Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 29 Jun 2017 20:33:15 +0800 Subject: fix vformat with args and %% format --- xmake/core/sandbox/modules/utils.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake/core/sandbox/modules/utils.lua') diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua index 80a21aef8..f72da0423 100644 --- a/xmake/core/sandbox/modules/utils.lua +++ b/xmake/core/sandbox/modules/utils.lua @@ -76,7 +76,8 @@ function sandbox_utils.print(format, ...) end, catch { - function () + function (errors) + print(errors) -- print multi-variables with raw lua action sandbox_utils._print(format, unpack(args)) end -- cgit v1.3.1