Fix `gofmt' errors.

parent d17ce325
...@@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string { ...@@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
} }
// trim leftover {".", ".."} // trim leftover {".", ".."}
if (newPath == "." || newPath == "..") { if newPath == "." || newPath == ".." {
newPath = "" newPath = ""
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment