Fix `gofmt' errors.

This commit is contained in:
Srinidhi Kaushik
2018-10-16 21:31:59 +05:30
parent d17ce325a6
commit 00720ba51d

View File

@@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
} }
// trim leftover {".", ".."} // trim leftover {".", ".."}
if (newPath == "." || newPath == "..") { if newPath == "." || newPath == ".." {
newPath = "" newPath = ""
} }