Skip to content

Commit d63783f

Browse files
authored
Upgrade Shellcheck to v0.10.0 (#612)
Also address new style issues flagged by the updated Shellcheck version Fixes [SC2004](https://www.shellcheck.net/wiki/SC2004).
1 parent 79e204b commit d63783f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependencies {
5555

5656
shellcheck {
5757
additionalArguments = "-a -x"
58-
shellcheckVersion = "v0.8.0"
58+
shellcheckVersion = "v0.10.0"
5959
}
6060

6161
val unpackArgbash by tasks.registering(Copy::class) {

components/scripts/lib/build-scan-online.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ read_build_scan_metadata() {
2828

2929
# shellcheck disable=SC2034
3030
while IFS=, read -r run_num project_name base_url build_scan_url build_scan_id; do
31-
project_names[$run_num]="${project_name}"
32-
base_urls[$run_num]="${base_url}"
33-
build_scan_urls[$run_num]="${build_scan_url}"
34-
build_scan_ids[$run_num]="${build_scan_id}"
31+
project_names[run_num]="${project_name}"
32+
base_urls[run_num]="${base_url}"
33+
build_scan_urls[run_num]="${build_scan_url}"
34+
build_scan_ids[run_num]="${build_scan_id}"
3535
done <<< "${build_scan_metadata}"
3636
fi
3737
}

0 commit comments

Comments
 (0)