pull/169/head
weisenhuang 5 years ago
parent a21511b2cf
commit 4b760a9269
  1. 3
      tool/kratos/tool.go

@ -176,9 +176,8 @@ func (t Tool) updated() bool {
func (t Tool) toolPath() string {
if gobin := os.Getenv("GOBIN");len(gobin) > 0 {
return filepath.Join(gobin, t.Alias)
}else{
return filepath.Join(gopath(), "bin", t.Alias)
}
return filepath.Join(gopath(), "bin", t.Alias)
}
func (t Tool) installed() bool {

Loading…
Cancel
Save