Skip to content

Commit e7a624b

Browse files
authored
chore: fix the problem of make fmt-faster formatting non-go files (#2381)
1 parent f0a038f commit e7a624b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TEST?=./...
22
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
33
PKG_NAME=tencentcloud
4-
CHANGED_FILES=$$(git diff --name-only master -- $(PKG_NAME))
4+
CHANGED_FILES=$$(git diff --name-only master -- $(PKG_NAME) | grep '.go$$')
55
WEBSITE_REPO=github.com/hashicorp/terraform-website
66
PLATFORMS=darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm openbsd/amd64 openbsd/386 solaris/amd64 windows/386 windows/amd64
77
GO_VER ?= go

0 commit comments

Comments
 (0)