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 {
|
||||
if asRoot {
|
||||
return root{}
|
||||
} else {
|
||||
return home{}
|
||||
}
|
||||
return home{}
|
||||
}
|
||||
|
||||
func getBinaryPath() (string, error) {
|
||||
|
|
Loading…
Reference in New Issue