fix: fixed typo in comment

This commit is contained in:
evilsocket 2018-01-08 08:26:23 +01:00
commit b3ccec269a

View file

@ -39,7 +39,7 @@ func ExpandPath(path string) (string, error) {
if err != nil { if err != nil {
return "", err return "", err
} }
// Replace only the first occurence of ~ // Replace only the first occurrence of ~
path = strings.Replace(path, "~", usr.HomeDir, 1) path = strings.Replace(path, "~", usr.HomeDir, 1)
} }
return filepath.Abs(path) return filepath.Abs(path)