mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 10:00:13 +00:00
Fix golint if/else
if block ends with a return statement, so drop this else and outdent its block
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user