From 882bd1adb1fadc1c99e67d56f71d9204b19e25cc Mon Sep 17 00:00:00 2001 From: Gowtham Munukutla Date: Thu, 18 Feb 2021 22:39:56 +0530 Subject: [PATCH] add go lint to pass checks --- pkg/cmd/gist/edit/edit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/gist/edit/edit.go b/pkg/cmd/gist/edit/edit.go index 453006049..2d06ee554 100644 --- a/pkg/cmd/gist/edit/edit.go +++ b/pkg/cmd/gist/edit/edit.go @@ -305,7 +305,7 @@ func processFiles(filename string) (string, bool, error) { } else { switch mode := fi.Mode(); { case mode.IsDir(): - return "", false, fmt.Errorf("found directory %s" , filename) + return "", false, fmt.Errorf("found directory %s", filename) case mode.IsRegular(): fileExists = true }