Skip to content

Commit

Permalink
Upgrade Shellcheck to v0.10.0 (#612)
Browse files Browse the repository at this point in the history
Also address new style issues flagged by the updated Shellcheck version

Fixes [SC2004](https://www.shellcheck.net/wiki/SC2004).
  • Loading branch information
jthurne authored May 3, 2024
1 parent 79e204b commit d63783f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {

shellcheck {
additionalArguments = "-a -x"
shellcheckVersion = "v0.8.0"
shellcheckVersion = "v0.10.0"
}

val unpackArgbash by tasks.registering(Copy::class) {
Expand Down
8 changes: 4 additions & 4 deletions components/scripts/lib/build-scan-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ read_build_scan_metadata() {

# shellcheck disable=SC2034
while IFS=, read -r run_num project_name base_url build_scan_url build_scan_id; do
project_names[$run_num]="${project_name}"
base_urls[$run_num]="${base_url}"
build_scan_urls[$run_num]="${build_scan_url}"
build_scan_ids[$run_num]="${build_scan_id}"
project_names[run_num]="${project_name}"
base_urls[run_num]="${base_url}"
build_scan_urls[run_num]="${build_scan_url}"
build_scan_ids[run_num]="${build_scan_id}"
done <<< "${build_scan_metadata}"
fi
}
Expand Down

0 comments on commit d63783f

Please sign in to comment.