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
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
4a85fa9b4d
commit
82ad2216da
|
@ -156,11 +156,9 @@ function bhl_run(bool $debug = true, bool $force = false, bool $exit_on_err = tr
|
||||||
if(!$exit_on_err)
|
if(!$exit_on_err)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else if($debug)
|
||||||
echo "BHL BUNDLE: total " . kb_len(filesize($result_file)) . ", CRC " . hexdec(hash_file('CRC32', $result_file, false)) . "\n";
|
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)
|
function bhl_handle_error_result(array $ret_out, string $err_file, bool $exit = true)
|
||||||
|
|
Loading…
Reference in New Issue