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 076f53e commit 73c6998Copy full SHA for 73c6998
1 file changed
go/Makefile
@@ -21,7 +21,7 @@ autoformat:
21
find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -w
22
23
check-formatting:
24
- @output=$$(find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -l 2>&1); \
+ @output=$$(find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -d 2>&1); \
25
if [ -n "$$output" ]; then \
26
echo "The following files need to be reformatted using gofmt or have compilation errors:"; \
27
echo "$$output"; \
0 commit comments