diff options
author | Jakob Unterwurzacher | 2018-06-25 22:45:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-07-01 20:56:22 +0200 |
commit | 3f9a4bbcaa7c3c78b2c709373172503a67084611 (patch) | |
tree | 74a67b147c06ab9918a9b0b86f91050ee1108b00 /test.bash | |
parent | 1a5e9cfb1ef0191e4b0f48599a39f01244b692e4 (diff) |
main: replace naked panic with log.Panic
Fix the check that failed to find the case as well.
Diffstat (limited to 'test.bash')
-rwxr-xr-x | test.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ else rm -Rf $TESTDIR fi -if grep -R "panic(" internal ; then +if grep -R "panic(" *.go internal ; then echo "Please use log.Panic instead of naked panic!" exit 1 fi |