Skip to content

Commit

Permalink
ci/fmt.sh: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Jul 4, 2020
1 parent aa4d85f commit 15a1523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ main() {
stringer -type=opcode,MessageType,StatusCode -output=stringer.go

if [[ ${CI-} ]]; then
ensure_fmt
assert_no_changes
fi
}

ensure_fmt() {
assert_no_changes() {
if [[ $(git ls-files --other --modified --exclude-standard) ]]; then
git -c color.ui=always --no-pager diff
echo
Expand Down

0 comments on commit 15a1523

Please sign in to comment.