Skip to content

Commit ddcf7dc

Browse files
committed
fix: looking for go.mod files to update
1 parent 78e2df4 commit ddcf7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ while read file; do
8888
fi
8989

9090
popd > /dev/null
91-
done <<< "$(find . -type f -name 'go.mod')"
91+
done <<< "$(git ls-tree --full-tree --name-only -r HEAD | grep 'go\.mod$')"
9292

9393
popd > /dev/null

0 commit comments

Comments
 (0)