mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: updated islazy to 1.9.1 (fixes #360)
This commit is contained in:
parent
f6c2e15836
commit
26e2cd8831
4 changed files with 7 additions and 5 deletions
3
vendor/github.com/evilsocket/islazy/fs/misc.go
generated
vendored
3
vendor/github.com/evilsocket/islazy/fs/misc.go
generated
vendored
|
@ -14,6 +14,9 @@ var (
|
|||
|
||||
// Expand will expand a path with ~ to a full path of the current user.
|
||||
func Expand(path string) (string, error) {
|
||||
if path == "" {
|
||||
return path, nil
|
||||
}
|
||||
usr, err := user.Current()
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue