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:
Riley Karson 2019-01-04 13:00:44 -08:00 committed by GitHub
parent 509b21988c
commit e2d2bf4806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ testacc: fmtcheck
fmt:
@echo "==> Fixing source code with gofmt..."
gofmt -w ./$(PKG_NAME)
gofmt -w -s ./$(PKG_NAME)
# Currently required by tf-deploy compile
fmtcheck: