Skip to content

Commit 5380d0f

Browse files
committed
Shellcheck: Ignore SC2034 for version alias arrays
These are used dynamically which shellcheck can’t tell
1 parent a7b3886 commit 5380d0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

generate-stackbrew-library.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ set -e
33

44
hash git 2>/dev/null || { echo >&2 "git not found, exiting."; }
55

6+
# Used dynamically: print "$array_" $1
7+
# shellcheck disable=SC2034
68
array_4_8='4 argon';
9+
# shellcheck disable=SC2034
710
array_6_11='6 boron';
11+
# shellcheck disable=SC2034
812
array_8_1='8 latest';
913

1014
cd $(cd ${0%/*} && pwd -P);

0 commit comments

Comments
 (0)