From b3ccec269a137bc26269c19d2e7b46dd181d878f Mon Sep 17 00:00:00 2001 From: evilsocket Date: Mon, 8 Jan 2018 08:26:23 +0100 Subject: [PATCH] fix: fixed typo in comment --- core/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.go b/core/core.go index 0ba88f30..e5ae7478 100644 --- a/core/core.go +++ b/core/core.go @@ -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)