From c5d38f5c46aba014f3d5f8ab2a352320cc9ad00d Mon Sep 17 00:00:00 2001 From: Elena Morozova Date: Fri, 13 Oct 2017 16:13:55 -0700 Subject: [PATCH] Fix golint if/else if block ends with a return statement, so drop this else and outdent its block --- prog/static.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prog/static.go b/prog/static.go index bcd8625731..950c7a8040 100644 --- a/prog/static.go +++ b/prog/static.go @@ -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) }