Skip to content

Commit

Permalink
Work around weird buildifier/gazelle bug
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Koch <chrisko@google.com>
  • Loading branch information
hugelgupf committed May 28, 2021
1 parent 25d259c commit 3c0728b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ jobs:
name: run buildifier
command: |
bazel run :buildifier -- -r .
# For some reason, running buildifier or gazelle updates go.sum.
go mod tidy
git status
if [[ -n "$(git status --porcelain .)" ]]; then
echo 'BUILD files are out-of-date: run `bazel run :buildifier -- -r .` and then check in the changes'
Expand Down

0 comments on commit 3c0728b

Please sign in to comment.