Fix golint if/else

if block ends with a return statement, so drop this else and outdent its block
This commit is contained in:
Elena Morozova
2017-10-13 16:13:55 -07:00
parent 71a18fe190
commit c5d38f5c46

View File

@@ -11,7 +11,6 @@ import (
func GetFS(useExternal bool) http.FileSystem {
if useExternal {
return externalui.FS(false)
} else {
return staticui.FS(false)
}
return staticui.FS(false)
}