Skip to content

Commit

Permalink
build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (gol…
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and SeigeC committed Apr 4, 2023
1 parent edebfac commit 3146c7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
4d63.com/gochecknoglobals v0.1.0
github.com/Antonboom/errname v0.1.5
github.com/Antonboom/nilnil v0.1.0
github.com/BurntSushi/toml v0.4.1
github.com/BurntSushi/toml v1.0.0
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
github.com/OpenPeeDeeP/depguard v1.1.0
github.com/alexkohler/prealloc v1.0.0
Expand Down
3 changes: 2 additions & 1 deletion go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/golinters/revive.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func getReviveConfig(cfg *config.ReviveSettings) (*lint.Config, error) {
}

conf = &lint.Config{}
_, err = toml.DecodeReader(buf, conf)
_, err = toml.NewDecoder(buf).Decode(conf)
if err != nil {
return nil, errors.Wrap(err, "failed to decode configuration")
}
Expand Down

0 comments on commit 3146c7d

Please sign in to comment.