Skip to content

Commit cce56a9

Browse files
committed
Shellcheck: SC2128 Expanding an array without an index only gives the first element
1 parent 19d6c12 commit cce56a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ array_8_1='8 latest';
1313

1414
cd "$(cd "${0%/*}" && pwd -P)";
1515

16-
self="$(basename "$BASH_SOURCE")"
16+
self="$(basename "${BASH_SOURCE[0]}")"
1717

1818
versions=( */ )
1919
versions=( "${versions[@]%/}" )

0 commit comments

Comments
 (0)