We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fcabf commit b529ab1Copy full SHA for b529ab1
captain-hook.sh
@@ -78,10 +78,11 @@ _determineExitCode() {
78
# This method is called by captain-hook. It will run the user's
79
# defined git-hook pipeline when a client-side hook is invoked by git.
80
runHook() {
81
- local -r hook=$1; shift
+ local -r executing_hook=$1; shift
82
local rc=0
83
84
- local -r pipeline=$(_getPipeline "${hook}.d")
+ local -r pipeline=$(_getPipeline "${executing_hook}.d")
85
+ debug "Pipeline is ${pipeline}"
86
while IFS= read -rd '' script; do
87
# if part of the pipeline has failed, skip forward to the
88
# "ensured" scripts
0 commit comments