diff options
-rwxr-xr-x | test.bash | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -37,4 +37,9 @@ else echo "\"go tool vet\" not available - skipping" fi +if grep -R "panic(" internal ; then + echo "Please use log.Panic instead of naked panic!" + exit 1 +fi + ) 200> $LOCKFILE |