From 4514f8b8c0f4d168bf12fc8a1f542bf2d0538a82 Mon Sep 17 00:00:00 2001 From: makeworld Date: Sat, 27 Feb 2021 00:21:57 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Happy=20linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bookmarks/bookmarks.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookmarks/bookmarks.go b/bookmarks/bookmarks.go index 8f51326..7ac9e0e 100644 --- a/bookmarks/bookmarks.go +++ b/bookmarks/bookmarks.go @@ -61,11 +61,12 @@ func Init() error { err = os.Remove(config.OldBkmkPath) if err != nil { + //nolint:goerr113 return fmt.Errorf( "couldn't delete old bookmarks file (%s), you must delete it yourself to prevent duplicate bookmarks: %w", config.OldBkmkPath, err, - ) //nolint:goerr113,nolintlint + ) } config.BkmkStore = nil }