Skip to content

Commit

Permalink
Merge pull request #2 from borisbabic/fix/locating
Browse files Browse the repository at this point in the history
Fix locating local commands
  • Loading branch information
FatherShawn authored Apr 20, 2020
2 parents 45b0f40 + d90af9b commit b0ccb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit_hooks/helpers/locate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -f "$vendor_command" ]; then
elif hash $global_command 2>/dev/null; then
exec_command=$global_command
elif [ -f "$local_command" ]; then
phpcsfixer_command=$prefixed_local_command
exec_command=$prefixed_local_command
else
echo -e "${bldred}No valid ${title} found!${txtrst}"
echo "Please have one available as one of the following:"
Expand Down

0 comments on commit b0ccb10

Please sign in to comment.