Fix for-each-module script
@@ -5,6 +5,6 @@ res=0
while read -r f; do
( d=$(dirname "$f") && pushd "$d" && $CMD; ) || res=1
-done <<< "$(find . -path "*vendor" -prune -o -name 'go.mod')"
+done <<< "$(find . -name 'go.mod' -not -path './*vendor*/*')"
exit $res
