diff --git a/_examples/gomodtidyall.sh b/_examples/gomodtidyall.sh index a9e6100..5b633bc 100755 --- a/_examples/gomodtidyall.sh +++ b/_examples/gomodtidyall.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e for d in *; do [ ! -d "$d" ] && continue