Skip to content

Commit

Permalink
refactor: ignore a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 6, 2025
1 parent f2f8966 commit a600c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/unarchive/archives.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit a600c8e

Please sign in to comment.