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 5, 2025
1 parent 12907f5 commit 7911b87
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 @@ -40,7 +40,7 @@ func (h *handler) HandleFile(_ context.Context, f archives.FileInfo) error {
}

if f.IsDir() {
if err := h.fs.MkdirAll(dstPath, f.Mode()|0o700); err != nil {
if err := h.fs.MkdirAll(dstPath, f.Mode()|0o700); err != nil { //nolint:mnd
logerr.WithError(h.logE, err).Warn("create a directory")
return nil
}
Expand Down

0 comments on commit 7911b87

Please sign in to comment.