Skip to content

Commit d24e6b3

Browse files
author
{nikitaratnikov}
committed
Fix gofmt script
1 parent e6b3616 commit d24e6b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci.gofmt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
if [ -n "$(gofmt -l .)" ]; then
3+
if [ -n "$(go fmt ./...)" ]; then
44
echo "Go code is not formatted:"
5-
gofmt -d .
5+
go fmt ./...
66
exit 1
77
fi
88

0 commit comments

Comments
 (0)