mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
m
This commit is contained in:
parent
a21511b2cf
commit
4b760a9269
@ -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…
x
Reference in New Issue
Block a user