Last active
October 10, 2017 10:04
-
-
Save Viroide/a75be1b32c7ae2afe45a2bc77b3b68cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [[ $(ag '\.only|debugger') ]]; then | |
echo 'Ups, you should remove your 💩 !' | |
ag '\.only|debugger' | |
exit 1 | |
else | |
echo 'no 💩 , here is your 🎖' | |
exit 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use this hook you must have installed Silver searcher