From 6ff2e1dbe7f84c14f7a15b86db0990991eb3a906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 23 Mar 2016 09:45:18 +0100 Subject: [PATCH] helpers: Remove the else in MakePathSanitized --- helpers/path.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers/path.go b/helpers/path.go index 1ac5a87d8..69f10880e 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -81,9 +81,8 @@ func MakePath(s string) string { func MakePathSanitized(s string) string { if viper.GetBool("DisablePathToLower") { return MakePath(s) - } else { - return strings.ToLower(MakePath(s)) } + return strings.ToLower(MakePath(s)) } func MakeTitle(inpath string) string {