Use Go's filepath seperator for config path

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

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

Loading…
Cancel
Save