Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
nmiyake committed Nov 25, 2019
1 parent e7b37b4 commit b7d8b0f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,8 @@ steps:
- bash: |
git config --global core.autocrlf false
go mod tidy
if [ ! -z "$(git status --porcelain go.mod)" ]; then
printf "go.mod has modifications\n"
git diff go.mod
exit 1
fi
if [ ! -z "$(git status --porcelain go.sum)" ]; then
printf "go.sum has modifications\n"
git diff go.sum
exit 1
fi
diff -u <(echo -n) <(git diff go.mod)
diff -u <(echo -n) <(git diff go.sum)
workingDirectory: '$(modulePath)'
displayName: Ensure that module definition and checksums are correct

Expand Down

0 comments on commit b7d8b0f

Please sign in to comment.