Skip to content

Commit

Permalink
Merge pull request #534 from tchughesiv/addDiff
Browse files Browse the repository at this point in the history
add diff to CI
  • Loading branch information
openshift-merge-robot authored Oct 27, 2020
2 parents 2c09805 + 07205e1 commit f774758
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hack/go-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ source ./hack/go-mod-env.sh

echo Reset vendor directory

if [[ -z ${CI} ]]; then
go mod tidy
go mod vendor
else
go mod vendor -v
go mod tidy
go mod vendor

if [[ -n ${CI} ]]; then
git diff --exit-code
fi

0 comments on commit f774758

Please sign in to comment.