Skip to content

Commit

Permalink
print git diff to see go.sum content
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanisikdemir committed Jan 27, 2024
1 parent d3f7a9a commit 89bc0bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/buildkite/golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -ex

make tidy
make go-generate
make fmt
make lint
make fmt
make lint
make copyright

# intentionally capture stderr, so status-errors are also PR-failing.
Expand All @@ -15,5 +15,6 @@ if [ -n "$(git status --porcelain 2>&1)" ]; then
echo "There are changes after make go-generate && make fmt && make lint && make copyright"
echo "Please rerun the command and commit the changes"
git status --porcelain
git --no-pager diff
exit 1
fi

0 comments on commit 89bc0bf

Please sign in to comment.