Skip to content

Commit

Permalink
Use Go install for getting goimports (#19535) (#19542)
Browse files Browse the repository at this point in the history
Use Go install for getting goimports (#19535) (#19542)
  • Loading branch information
michalpristas authored Jul 1, 2020
1 parent 2a13f65 commit e39b335
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 e39b335

Please sign in to comment.