From c46edcd9d6af48863c4b7d46c9ee4b90409ea638 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Tue, 28 Jul 2020 22:38:03 +0200 Subject: [PATCH] error strings should not end with punctuation --- internal/repository/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/repository/index.go b/internal/repository/index.go index 4beecc008..0a3aaead8 100644 --- a/internal/repository/index.go +++ b/internal/repository/index.go @@ -472,7 +472,7 @@ func (idx *Index) merge(idx2 *Index) error { defer idx2.m.Unlock() if !idx2.final { - return errors.New("index to merge is not final!") + return errors.New("index to merge is not final") } packlen := len(idx.packs)