diff options
| author | ruki <[email protected]> | 2017-06-29 20:33:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-29 20:33:15 +0800 |
| commit | 9d5bd8e4576431ffe3cbfb63be33dedacc32223f (patch) | |
| tree | 701771277f378ccd23d02ff5c35afb7b869fa78b /xmake/core/sandbox/modules/utils.lua | |
| parent | 0f9ddb186bff17c0c430118860503532b72c5cce (diff) | |
fix vformat with args and %% format
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/utils.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
