Skip to content

Commit

Permalink
Use Go install for getting goimports (elastic#19535)
Browse files Browse the repository at this point in the history
* go get off mode

* use go install
  • Loading branch information
michalpristas authored and melchiormoulin committed Oct 14, 2020
1 parent 5199aed commit f1f7d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-tools/mage/fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func GoImports() error {
return err
}
} else {
if err := gotool.Get(
gotool.Get.Package(filepath.Join(GoImportsImportPath)),
if err := gotool.Install(
gotool.Install.Package(filepath.Join(GoImportsImportPath)),
); err != nil {
return err
}
Expand Down

0 comments on commit f1f7d18

Please sign in to comment.