Skip to content

Commit

Permalink
revive test_lint fix ability (bazelbuild#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
ittaiz authored and Andre Rocha committed Jul 6, 2020
1 parent 27a76a3 commit 745da86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test_lint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

set -eou pipefail
lint_command="${1:-check}"
if [[ "$lint_command" == "ci" ]]; then
lint_command="check"
fi

./tools/bazel run //tools:buildifier@check
./tools/bazel run //tools:buildifier@$lint_command

0 comments on commit 745da86

Please sign in to comment.