Skip to content

Commit

Permalink
Exclude site directory from go.mod search
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidJacob committed Mar 9, 2022
1 parent c60979e commit c64351a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/check-go-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -x
set -e

# verify all modules pass validation
for i in $(find . -name go.mod); do
for i in $(find . -name go.mod -not -path "./site/*"); do
pushd .
cd $(dirname $i);
go list -m -json all > /dev/null
Expand Down

0 comments on commit c64351a

Please sign in to comment.