Skip to content

Commit cca7a73

Browse files
committed
Merge pull request observing#52 from jltalens/fix-spaces-dirnames
Added quotes to allow spaces in directory names
2 parents c507c6c + 2bba308 commit cca7a73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ if [[ $* == *--dry-run* ]]; then
4646
exit 1
4747
fi
4848
else
49-
"$BINARY" $("$BINARY" -e "console.log(require.resolve('pre-commit'))")
49+
"$BINARY" "$("$BINARY" -e "console.log(require.resolve('pre-commit'))")"
5050
fi

0 commit comments

Comments
 (0)