Fix `gofmt' errors.

parent d17ce325
......@@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
}
// trim leftover {".", ".."}
if (newPath == "." || newPath == "..") {
if 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