Skip to content

Commit c501db7

Browse files
committed
Print serialization factor summary row always
1 parent c1ea02b commit c501db7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/scripts/lib/info.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ print_executed_non_cacheable_tasks() {
246246
}
247247

248248
print_serialization_factor() {
249-
# Do not print serialization factor at all if this value does not exist
250-
# This can happen since build-scan-support-tool does not yet support this field
249+
local value
251250
if [[ -n "${serialization_factors[0]}" ]]; then
252-
summary_row "Serialization factor:" "$(to_two_decimal_places "${serialization_factors[0]}")"
251+
value="$(to_two_decimal_places "${serialization_factors[0]}")"
253252
fi
253+
summary_row "Serialization factor:" "${value}"
254254
}
255255

256256
print_executed_cacheable_tasks_warning() {

0 commit comments

Comments
 (0)