From e2d2bf4806d868431ccccf9c7a819e9de0c53137 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Fri, 4 Jan 2019 13:00:44 -0800 Subject: [PATCH] Use gofmt -s in make fmt (#2798) Travis checks for `-s` results, so we should run it locally as well. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index eb5893f2..0defa49b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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: