Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EasterTheBunny committed Dec 11, 2024
1 parent 436023c commit 352a971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func readConfig(path string, reader func(name string) ([]byte, error), fallback

// decode from toml to a chain config
if err := cconfig.DecodeTOML(bytes.NewReader(bts), &config); err != nil {
return nil, Chain{}, fmt.Errorf("%w %q: %v", errDecode, path, err)
return nil, Chain{}, fmt.Errorf("%w %q: %s", errDecode, path, err)

Check failure on line 166 in core/chains/evm/config/toml/defaults.go

View workflow job for this annotation

GitHub Actions / lint

non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
}

if fallback {
Expand Down

0 comments on commit 352a971

Please sign in to comment.