mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: fixed typo in comment
This commit is contained in:
parent
42079a1ee7
commit
b3ccec269a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func ExpandPath(path string) (string, error) {
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
// Replace only the first occurence of ~
|
||||
// Replace only the first occurrence of ~
|
||||
path = strings.Replace(path, "~", usr.HomeDir, 1)
|
||||
}
|
||||
return filepath.Abs(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue