From a600c8e9f8f6e6554a72fd67605bd6b047ed8598 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Tue, 7 Jan 2025 00:23:56 +0900 Subject: [PATCH] refactor: ignore a lint error --- pkg/unarchive/archives.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/unarchive/archives.go b/pkg/unarchive/archives.go index 3f7d22073..8689447ee 100644 --- a/pkg/unarchive/archives.go +++ b/pkg/unarchive/archives.go @@ -87,7 +87,7 @@ func (h *handler) Unarchive(ctx context.Context, _ *logrus.Entry, src *File) err return fmt.Errorf("get a temporary file path: %w", err) } if err := h.unarchive(ctx, src.Filename, tempFilePath); err != nil { - return logerr.WithFields(err, logrus.Fields{ + return logerr.WithFields(err, logrus.Fields{ //nolint:wrapcheck "archived_file": tempFilePath, "archived_filename": src.Filename, })