mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Use gofmt -s in make fmt (#2798)
Travis checks for `-s` results, so we should run it locally as well.
This commit is contained in:
parent
509b21988c
commit
e2d2bf4806
@ -17,7 +17,7 @@ testacc: fmtcheck
|
|||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
@echo "==> Fixing source code with gofmt..."
|
@echo "==> Fixing source code with gofmt..."
|
||||||
gofmt -w ./$(PKG_NAME)
|
gofmt -w -s ./$(PKG_NAME)
|
||||||
|
|
||||||
# Currently required by tf-deploy compile
|
# Currently required by tf-deploy compile
|
||||||
fmtcheck:
|
fmtcheck:
|
||||||
|
Loading…
Reference in New Issue
Block a user