aboutsummaryrefslogtreecommitdiff
path: root/src/path/filepath/path_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/path/filepath/path_windows.go')
-rw-r--r--src/path/filepath/path_windows.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/path/filepath/path_windows.go b/src/path/filepath/path_windows.go
index 0d8b62015c..03542559f8 100644
--- a/src/path/filepath/path_windows.go
+++ b/src/path/filepath/path_windows.go
@@ -100,9 +100,7 @@ func splitList(path string) []string {
// Remove quotes.
for i, s := range list {
- if strings.Contains(s, `"`) {
- list[i] = strings.Replace(s, `"`, ``, -1)
- }
+ list[i] = strings.Replace(s, `"`, ``, -1)
}
return list