Skip to content

Instantly share code, notes, and snippets.

@AimeeKnight
Created September 25, 2016 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AimeeKnight/f99a23bfc5d99d634ffae3fd15e20130 to your computer and use it in GitHub Desktop.
Save AimeeKnight/f99a23bfc5d99d634ffae3fd15e20130 to your computer and use it in GitHub Desktop.
pre commit config hook
#!/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