Fix one more vet
This commit is contained in:
parent
cc743aad8b
commit
c20bec01d6
|
@ -37,9 +37,8 @@ func Uninstall(cmd string, asRoot bool) error {
|
||||||
func getInstaller(asRoot bool) installer {
|
func getInstaller(asRoot bool) installer {
|
||||||
if asRoot {
|
if asRoot {
|
||||||
return root{}
|
return root{}
|
||||||
} else {
|
|
||||||
return home{}
|
|
||||||
}
|
}
|
||||||
|
return home{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func getBinaryPath() (string, error) {
|
func getBinaryPath() (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue