mirror of https://github.com/k3s-io/k3s
Fix `gofmt' errors.
parent
d17ce325a6
commit
00720ba51d
|
@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// trim leftover {".", ".."}
|
// trim leftover {".", ".."}
|
||||||
if (newPath == "." || newPath == "..") {
|
if newPath == "." || newPath == ".." {
|
||||||
newPath = ""
|
newPath = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue