Skip to content

Commit dec7d87

Browse files
committed
Suppress incorrect shellcheck
1 parent c413a9b commit dec7d87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/scripts/lib/info.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ print_potential_build_time_savings() {
194194
if [[ "${build_1_effective_execution_duration}" && "${build_2_effective_execution_duration}" && -n "${build_2_serialization_factor}" ]]; then
195195
local first_build second_build potential_build_duration potential_savings
196196
first_build=$(format_duration "${effective_task_execution_duration[0]}")
197+
# shellcheck disable=SC2034 # it's used on the next few lines
197198
potential_build_duration=$(echo "${build_2_effective_execution_duration}-(${build_2_executed_cacheable_duration}/${build_2_serialization_factor})" | bc)
198199
potential_savings=$(format_duration build_1_effective_execution_duration-potential_build_duration)
199200
second_build=$(format_duration potential_build_duration)

0 commit comments

Comments
 (0)