helpers: Don't clean the path before Join

Join will call Clean anyway.
This commit is contained in:
Albert Nigmatzianov authored and Bjørn Erik Pedersen committed 2017-05-09 14:07:43 +02:00
1 parent 9b2028626e
commit 7d39990497
1 file changed
+1 -1
+1 -1
View File
@@ -415,7 +415,7 @@ func prettifyPath(in string, b filepathPathBridge) string {
if len(in) < 2 {
return b.Separator()
}
return b.Join(b.Clean(in), "index.html")
return b.Join(in, "index.html")
}
name, ext := fileAndExt(in, b)
if name == "index" {