Skip to content

Commit

Permalink
ignore shellcheck error SC2068
Browse files Browse the repository at this point in the history
  • Loading branch information
sasurau4 committed Nov 6, 2020
1 parent a1af001 commit 5ea028e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ci/init_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ modules=($modules)
use_git=""
urls="$(git config --file .gitmodules --get-regexp '\.url$' | cut -d' ' -f2)"
urls=($urls)
for i in "${!modules[@]}"; do
# shellcheck disable=SC2068
for i in ${!modules[@]}; do
module=${modules[$i]}
if [[ " $included " = *" $module "* ]]; then
commit="$(git ls-tree HEAD $module | awk '{print $3}')"
Expand Down

0 comments on commit 5ea028e

Please sign in to comment.