Skip to content

Commit

Permalink
Merge pull request #9573 from rifelpet/goimports-1-14
Browse files Browse the repository at this point in the history
Update goimports script for go 1.14
  • Loading branch information
k8s-ci-robot authored Jul 15, 2020
2 parents 9dd41e2 + 6cefa29 commit 64c165a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hack/update-goimports
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ for package in packages:

print("packages %s" % paths)

env = os.environ
env["GO111MODULE"] = "on"

subprocess.call(['go', 'run', 'golang.org/x/tools/cmd/goimports', '-w'] + paths, cwd=path.join(gopath, 'src'), env=env)
subprocess.call(['go', 'run', 'golang.org/x/tools/cmd/goimports', '-w'] + paths, cwd=path.join(gopath, 'src'))

0 comments on commit 64c165a

Please sign in to comment.