diff options
| author | Stehsaer <[email protected]> | 2026-03-04 21:40:00 +0800 |
|---|---|---|
| committer | Stehsaer <[email protected]> | 2026-03-04 21:40:00 +0800 |
| commit | baa3c387ab242c16fd1d9c05ee6da7e3be4a5e4f (patch) | |
| tree | 3f47b16ff2ad1bce40f4646caefe2ca07a62f560 | |
| parent | 28f628e0a5bfacc468b6ff88aaee887af8b9b52e (diff) | |
remove intermediate variable
| -rw-r--r-- | xmake/actions/test/main.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index 4cfde34ba..70f8236d7 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -318,8 +318,7 @@ function _show_output(testinfo, kind) io.writefile(logfile, output) print("%s: %s", kind, logfile) elseif option.get("verbose") then - local msg = format("%s: %s", kind, output) - io.write(msg) + io.write(kind, ": ", output, "\n") print() end end |
