*: add nolint comments to multiple errors wrapping
To be enabled after go 1.20 support is added.
This commit is contained in:
parent
1db90e538f
commit
5f6c01336c
8 changed files with 29 additions and 29 deletions
|
@ -406,7 +406,7 @@ type (
|
|||
)
|
||||
|
||||
func mkErrValue(err error) error {
|
||||
return fmt.Errorf("%w: %v", ErrInvalidValue, err)
|
||||
return fmt.Errorf("%w: %v", ErrInvalidValue, err) //nolint:errorlint // errorlint: non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
|
||||
}
|
||||
|
||||
// FromJSONWithTypes deserializes an item from typed-json representation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue