From e054220b82bf2a15348ee440d551939a2bdfa28d Mon Sep 17 00:00:00 2001 From: Piotr Grabowski Date: Sat, 10 Aug 2024 15:01:34 +0200 Subject: [PATCH] qual: lint fixes --- navigation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/navigation.go b/navigation.go index 9814386..9883510 100644 --- a/navigation.go +++ b/navigation.go @@ -293,7 +293,7 @@ func (app *App) currentArchiveIdx() (idx int, err error) { } } if idx == -1 { - return 0, errors.New("Couldn't find the current archive in the current dir. Deleted, perhaps?") + return 0, errors.New("could not find the current archive in the current directory. Deleted, perhaps?") } return } @@ -321,7 +321,7 @@ func (app *App) archiveNameRelativeToCurrent(relIdx int) (newName string, err er idx := currIdx + relIdx if idx < 0 || idx >= len(arNames) { - err = errors.New("No more archives in the directory") + err = errors.New("no more archives in the directory") return }