Skip to content

Commit 5ea028e

Browse files
committed
ignore shellcheck error SC2068
1 parent a1af001 commit 5ea028e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/init_repo.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ modules=($modules)
5353
use_git=""
5454
urls="$(git config --file .gitmodules --get-regexp '\.url$' | cut -d' ' -f2)"
5555
urls=($urls)
56-
for i in "${!modules[@]}"; do
56+
# shellcheck disable=SC2068
57+
for i in ${!modules[@]}; do
5758
module=${modules[$i]}
5859
if [[ " $included " = *" $module "* ]]; then
5960
commit="$(git ls-tree HEAD $module | awk '{print $3}')"

0 commit comments

Comments
 (0)