mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
format code
This commit is contained in:
parent
4b760a9269
commit
588e4c0861
@ -174,7 +174,7 @@ func (t Tool) updated() bool {
|
||||
}
|
||||
|
||||
func (t Tool) toolPath() string {
|
||||
if gobin := os.Getenv("GOBIN");len(gobin) > 0 {
|
||||
if gobin := os.Getenv("GOBIN"); len(gobin) > 0 {
|
||||
return filepath.Join(gobin, t.Alias)
|
||||
}
|
||||
return filepath.Join(gopath(), "bin", t.Alias)
|
||||
|
Loading…
x
Reference in New Issue
Block a user