diff options
| author | Eyal Posener <[email protected]> | 2017-05-06 22:26:29 +0300 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2017-05-06 22:26:29 +0300 |
| commit | c20bec01d6d5df7c359ee55d097589b2a2f86368 (patch) | |
| tree | 6ac77f8e9d626cf0203f67c4501b6c88e2e875bc | |
| parent | cc743aad8be84fa477d744e144c84ed75431ba3a (diff) | |
Fix one more vet
| -rw-r--r-- | cmd/install/install.go | 3 |
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) { |
