Created
March 19, 2010 20:30
-
-
Save jhsu/338141 to your computer and use it in GitHub Desktop.
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 | |
# check for config.log in javascript | |
count=`grep -iR 'config\.log' public/javascripts/* | wc -l | awk '{print $1}'` | |
if [[ "$count" -ge 3 ]]; then | |
echo " remove any config.log() in your javascripts" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's supposed to be console.log ?