update golangci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
2023-06-04 18:51:00 +03:00
parent e1dfdc28ff
commit d839e1ac90
21 changed files with 145 additions and 106 deletions

View File

@@ -76,7 +76,7 @@ func (s Value) Unmarshal(target interface{}) error {
if v, ok := s.Raw().([]byte); ok {
err := json.Unmarshal(v, target)
if err != nil {
return fmt.Errorf("%w: %s", config.ErrInvalidValue, err)
return fmt.Errorf("%w: %w", config.ErrInvalidValue, err)
}
return nil