diff options
| author | ruki <[email protected]> | 2025-02-04 00:51:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-02-04 00:51:23 +0800 |
| commit | fffc4190d7c706156e8421a7381c0bb62ae90cc8 (patch) | |
| tree | ef5ee0d5413ba1a59e67125905c6c745939fd9e0 | |
| parent | 11b8a36ff31d29c4768c78005ef8231468b80904 (diff) | |
improve print logs
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index d626d0372..4e6bfaf50 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -285,7 +285,7 @@ end -- quietly run command with arguments list and echo verbose info if [-v|--verbose] option is enabled function sandbox_os.vrunv(program, argv, opt) if option.get("verbose") then - print(vformat(program) .. " " .. sandbox_os.args(argv)) + print(vformat(program) .. " " .. sandbox_os.args(argv or {})) end if not (opt and opt.dryrun) then (option.get("verbose") and sandbox_os.execv or sandbox_os.runv)(program, argv, opt) |
