Fix `gofmt' errors.

pull/564/head
Srinidhi Kaushik 2018-10-16 21:31:59 +05:30
parent d17ce325a6
commit 00720ba51d
No known key found for this signature in database
GPG Key ID: A37B977BB13301D0
1 changed files with 1 additions and 1 deletions

View File

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