Skip to content

Commit

Permalink
Use an accurate name for the ci skip list
Browse files Browse the repository at this point in the history
  • Loading branch information
colinschmidt authored Jun 11, 2020
1 parent 623bafa commit 4bfd89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .githooks/ignore-certain-dirs-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ fi
changes=( `git diff --name-only --cached` )

# Load the patterns we want to skip into an array
mapfile -t blacklist < .ciignore
mapfile -t blocklist < .ciignore

for i in "${blacklist[@]}"
for i in "${blocklist[@]}"
do
# Remove the current pattern from the list of changes
changes=( ${changes[@]/$i/} )
Expand Down

0 comments on commit 4bfd89b

Please sign in to comment.