summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/install/install.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/install/install.go b/cmd/install/install.go
index 8f8ce9f..c20e11a 100644
--- a/cmd/install/install.go
+++ b/cmd/install/install.go
@@ -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) {