Skip to content

Commit 15a1523

Browse files
committed
ci/fmt.sh: Cleanup
1 parent aa4d85f commit 15a1523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ci/fmt.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ main() {
2121
stringer -type=opcode,MessageType,StatusCode -output=stringer.go
2222

2323
if [[ ${CI-} ]]; then
24-
ensure_fmt
24+
assert_no_changes
2525
fi
2626
}
2727

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

0 commit comments

Comments
 (0)