We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b3616 commit d24e6b3Copy full SHA for d24e6b3
.ci.gofmt.sh
@@ -1,8 +1,8 @@
1
#!/usr/bin/env bash
2
3
-if [ -n "$(gofmt -l .)" ]; then
+if [ -n "$(go fmt ./...)" ]; then
4
echo "Go code is not formatted:"
5
- gofmt -d .
+ go fmt ./...
6
exit 1
7
fi
8
0 commit comments