Skip to content

Commit

Permalink
chore: fix go-mod-tidy silent failure (#1080)
Browse files Browse the repository at this point in the history
- due to the `||` go-mod-tidy check will fail silently
  • Loading branch information
fallion authored and caarlos0 committed Jul 15, 2019
1 parent 018d37c commit 797dc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lint:
# Clean go.mod
go-mod-tidy:
go mod tidy -v
git diff-index --quiet HEAD || echo "Go mod tidy failed. Please run it locally"
git diff-index --quiet HEAD
.PHONY: go-mod-tidy

# Run all the tests and code checks
Expand Down

0 comments on commit 797dc69

Please sign in to comment.