Skip to content

Commit

Permalink
Fixes #2587: Use strict variable interpolation in git-hooks pre-commi…
Browse files Browse the repository at this point in the history
…t. (#2588)
  • Loading branch information
grasmash authored Feb 28, 2018
1 parent 64edfed commit 0bc8a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/git-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIST=$( git diff --name-only --cached --diff-filter=ACM )
PHPCS_BIN=vendor/bin/phpcs

echo "Executing .git/hooks/pre-commit..."
"${ROOT_DIR}"/vendor/bin/blt internal:git-hook:execute:pre-commit "$LIST"
"${ROOT_DIR}"/vendor/bin/blt internal:git-hook:execute:pre-commit "${LIST}"

# Return the status of the last run command.
exit $?

0 comments on commit 0bc8a77

Please sign in to comment.