From c20bec01d6d5df7c359ee55d097589b2a2f86368 Mon Sep 17 00:00:00 2001 From: Eyal Posener Date: Sat, 6 May 2017 22:26:29 +0300 Subject: [PATCH] Fix one more vet --- cmd/install/install.go | 3 +-- 1 file changed, 1 insertion(+), 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) {