Removing touching of the result file on each run; Echoing debug information only if debug=true
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
Pavel Shevaev 2024-10-22 16:14:47 +03:00
parent 4a85fa9b4d
commit 82ad2216da
1 changed files with 1 additions and 3 deletions

View File

@ -156,11 +156,9 @@ function bhl_run(bool $debug = true, bool $force = false, bool $exit_on_err = tr
if(!$exit_on_err)
return false;
}
else
else if($debug)
echo "BHL BUNDLE: total " . kb_len(filesize($result_file)) . ", CRC " . hexdec(hash_file('CRC32', $result_file, false)) . "\n";
}
@touch($result_file);
}
function bhl_handle_error_result(array $ret_out, string $err_file, bool $exit = true)