Skip to content

Commit

Permalink
improve print logs
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 3, 2025
1 parent 11b8a36 commit fffc419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/sandbox/modules/os.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fffc419

Please sign in to comment.