Skip to content

Commit 80659f8

Browse files
build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (#2491)
1 parent f311ffd commit 80659f8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
4d63.com/gochecknoglobals v0.1.0
77
github.com/Antonboom/errname v0.1.5
88
github.com/Antonboom/nilnil v0.1.0
9-
github.com/BurntSushi/toml v0.4.1
9+
github.com/BurntSushi/toml v1.0.0
1010
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
1111
github.com/OpenPeeDeeP/depguard v1.1.0
1212
github.com/alexkohler/prealloc v1.0.0

go.sum

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/revive.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func getReviveConfig(cfg *config.ReviveSettings) (*lint.Config, error) {
162162
}
163163

164164
conf = &lint.Config{}
165-
_, err = toml.DecodeReader(buf, conf)
165+
_, err = toml.NewDecoder(buf).Decode(conf)
166166
if err != nil {
167167
return nil, errors.Wrap(err, "failed to decode configuration")
168168
}

0 commit comments

Comments
 (0)