We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a5a479 + 19755e7 commit 0945f7bCopy full SHA for 0945f7b
src/qa/run-shellcheck.sh
@@ -126,11 +126,11 @@ function runShellcheckPullHooks() {
126
fi
127
local -r gt_dir=$1
128
129
- local -r gt_remote_dir="$gt_dir/remotes/"
130
- logInfo "analysing $gt_remote_dir/**/pull-hook.sh"
+ local -r gt_remote_dir="$gt_dir/remotes"
+ logInfo "analysing $gt_remote_dir/**/pull-hook*.sh"
131
132
# shellcheck disable=SC2034 # is passed by name to runShellcheck
133
- local -ra dirs2=("$gt_remote_dir")
+ local -ra dirs=("$gt_remote_dir")
134
local sourcePath="$dir_of_tegonal_scripts"
135
- runShellcheck dirs2 "$sourcePath" -name "pull-hook.sh"
+ runShellcheck dirs "$sourcePath" -name "pull-hook*.sh"
136
}
0 commit comments