Skip to content

Commit 73c6998

Browse files
committed
i
1 parent 076f53e commit 73c6998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ autoformat:
2121
find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -w
2222

2323
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); \
24+
@output=$$(find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -d 2>&1); \
2525
if [ -n "$$output" ]; then \
2626
echo "The following files need to be reformatted using gofmt or have compilation errors:"; \
2727
echo "$$output"; \

0 commit comments

Comments
 (0)