Skip to content

Commit df183d5

Browse files
committed
Address shellcheck warnings
1 parent cb738c2 commit df183d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
# a dir
1212

1313
readonly submodule="$(dirname "$0")"
14+
# shellcheck disable=SC1090
1415
source "${submodule}/captain-hook.sh"
1516
pushd "${submodule}/.." >/dev/null
1617

1718
# To use the post-clone script, see https://github.com/git-hook/post-clone
1819
readonly HOOKS=(pre-commit prepare-commit-msg commit-msg post-commit post-checkout pre-rebase post-clone)
1920

20-
for hook in ${HOOKS[@]}; do
21+
for hook in "${HOOKS[@]}"; do
2122
mkdir -p "${hook}.d"
2223
ln -sf captain-hook/run-hook "${hook}"
2324
done

0 commit comments

Comments
 (0)