Created
September 25, 2016 22:47
-
-
Save AimeeKnight/f99a23bfc5d99d634ffae3fd15e20130 to your computer and use it in GitHub Desktop.
pre commit config hook
This file contains 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 grep -q "port: 80" "gulp/tasks/server/server.js" | |
then echo "Port number not reverted! Should be set to 3000." | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment