* fix(#1970): additional log function gating for efficiency when not logging * fix(#1970): additional log function gating for efficiency when not logging
This commit is contained in:
committed by
GitHub
parent
59e65d88db
commit
02fdc262eb
@@ -59,7 +59,7 @@ function Runner:_getopts(stdout_handle, stderr_handle)
|
||||
end
|
||||
|
||||
function Runner:_log_raw_output(output)
|
||||
if output and type(output) == "string" then
|
||||
if log.enabled "git" and output and type(output) == "string" then
|
||||
log.raw("git", "%s", output)
|
||||
log.line("git", "done")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user