From ea0289c2acc4f0f711a5a2c1965f08acd3e4333c Mon Sep 17 00:00:00 2001 From: Jon Lundy Date: Wed, 3 Feb 2021 17:03:16 -0700 Subject: [PATCH] remove domain --- pkg/app/wkd/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/app/wkd/app.go b/pkg/app/wkd/app.go index a311354..0fa5795 100644 --- a/pkg/app/wkd/app.go +++ b/pkg/app/wkd/app.go @@ -197,7 +197,7 @@ func (app *wkdApp) createLinks(kind, name string) error { src := filepath.Join("..", kind, name) name = strings.ToLower(name) - hash, domain := hashHuman(name) + hash, _ := hashHuman(name) link := filepath.Join(app.path, ".links", strings.Join([]string{kind, hash}, "-")) err := app.replaceLink(src, link) if err != nil { @@ -221,7 +221,7 @@ func (app *wkdApp) removeLinks(kind, name string) error { } name = strings.ToLower(name) - hash, domain := hashHuman(name) + hash, _ := hashHuman(name) link := filepath.Join(app.path, ".links", strings.Join([]string{kind, hash}, "-")) err := os.Remove(link) if err != nil {