fix: updated islazy to 1.9.1 (fixes #360)

This commit is contained in:
evilsocket 2018-10-30 14:21:15 +01:00
commit 26e2cd8831
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
4 changed files with 7 additions and 5 deletions

View file

@ -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