fix(hooks): incorrect found count/skipped output in mixed exec/non-exec batches (#2551)
* fix(hooks): incorrect skipped output in mixed exec/non-exec batches The `found` variable is incorrectly decremented for non-executable scripts, which leads to misleading output when a hook folder contains an executable + a non-executable script (output will indicate the folder was fully scripted). Signed-off-by: Josh <josh.t.richards@gmail.com> * chore(hooks): make skipped/completed logic more intuitive Signed-off-by: Josh <josh.t.richards@gmail.com> --------- Signed-off-by: Josh <josh.t.richards@gmail.com>pull/2558/head
parent
a5577bc3ae
commit
583fbe383c
Loading…
Reference in new issue