Fix for go10

pull/42/head
Miguel Mota 5 years ago
parent cea9a8164b
commit 2d4185bbce
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9

@ -52,7 +52,7 @@ func NormalizePath(path string) string {
path = filepath.Join(UserHomeDir(), path[2:])
}
path = strings.ReplaceAll(path, "/", string(filepath.Separator))
path = strings.Replace(path, "/", string(filepath.Separator), -1)
return path
}

Loading…
Cancel
Save