From 975b9f7c1fe05e9e5169e4c1f3ffb5628a74e501 Mon Sep 17 00:00:00 2001 From: ia Date: Sat, 16 Jun 2018 17:33:42 +0200 Subject: [PATCH] all: gofmt Run standard gofmt command on project root. - go version go1.10.3 darwin/amd64 --- src/please.go | 2 +- tools/please_pex/pex/pex.go | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/please.go b/src/please.go index 3d26aa871a..2151036867 100644 --- a/src/please.go +++ b/src/please.go @@ -646,7 +646,7 @@ func please(tid int, state *core.BuildState, parsePackageOnly bool, include, exc func doTest(targets []core.BuildLabel, surefireDir cli.Filepath, resultsFile cli.Filepath) (bool, *core.BuildState) { os.RemoveAll(string(surefireDir)) os.RemoveAll(string(resultsFile)) - os.MkdirAll(string(surefireDir),0755) + os.MkdirAll(string(surefireDir), 0755) success, state := runBuild(targets, true, true) test.CopySurefireXmlFilesToDir(state.Graph, string(surefireDir)) test.WriteResultsToFileOrDie(state.Graph, string(resultsFile)) diff --git a/tools/please_pex/pex/pex.go b/tools/please_pex/pex/pex.go index b5553bbaba..154975ec23 100644 --- a/tools/please_pex/pex/pex.go +++ b/tools/please_pex/pex/pex.go @@ -15,12 +15,12 @@ import ( // A Writer implements writing a .pex file in various steps. type Writer struct { - zipSafe bool - shebang string - realEntryPoint string - testSrcs []string - testIncludes []string - testRunner string + zipSafe bool + shebang string + realEntryPoint string + testSrcs []string + testIncludes []string + testRunner string } // NewWriter constructs a new Writer.