We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13df56a commit eb2d7e1Copy full SHA for eb2d7e1
1 file changed
install.sh
@@ -23,7 +23,7 @@ curl -o commit-message-check -L $url && chmod +x ./commit-message-check
23
24
if !(grep -Fxq "commit-message-check" .gitignore); then
25
read -e -p "Do you want to add the binary to gitignore? (y/n) " choice
26
- [[ "$choice" == [Yy]* ]] && echo 'commit-message-check'>>.gitignore
+ [[ "$choice" == [Yy]* ]] && echo "\ncommit-message-check" >> .gitignore
27
fi
28
29
./commit-message-check setup
0 commit comments