Skip to content

Commit

Permalink
fix: try to fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Oct 18, 2023
1 parent 954a303 commit 5bf2cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/errorx/batcherror.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (ea errorArray) Unwrap() error {
if err == nil {
err = each
} else {
err = fmt.Errorf("%w%w", each, err)
err = fmt.Errorf("%w + %w", each, err)

Check failure on line 64 in core/errorx/batcherror.go

View workflow job for this annotation

GitHub Actions / Linux

fmt.Errorf call has more than one error-wrapping directive %w

Check failure on line 64 in core/errorx/batcherror.go

View workflow job for this annotation

GitHub Actions / Windows

fmt.Errorf call has more than one error-wrapping directive %w
}
}

Expand Down

0 comments on commit 5bf2cf7

Please sign in to comment.