Skip to content

Commit

Permalink
Make report_build_metrics more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Dec 9, 2023
1 parent ed5217f commit d16cb89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ report_build_metrics() {
local duration=$(($(timer_nanoseconds)-$smalltalk_ci_start_time))
duration=$(echo "${duration}" | awk '{printf "%.3f\n", $1/1000000000}')

if [[ "${config_tracking}" != "true" ]]; then
if [[ "${config_tracking:-}" == "false" ]]; then
return 0
fi

Expand Down

0 comments on commit d16cb89

Please sign in to comment.