Skip to content

Commit

Permalink
chore: use the new builder signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Mar 11, 2024
1 parent c99bdda commit 4189280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/website/dump_info/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
}

func saveLinters() error {
linters := lintersdb.NewLinterBuilder().Build(config.NewDefault())
linters, _ := lintersdb.NewLinterBuilder().Build(config.NewDefault())

var wraps []types.LinterWrapper
for _, l := range linters {
Expand Down
2 changes: 1 addition & 1 deletion scripts/website/expand_templates/thanks.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type authorDetails struct {
func getThanksList() string {
addedAuthors := map[string]*authorDetails{}

linters := lintersdb.NewLinterBuilder().Build(config.NewDefault())
linters, _ := lintersdb.NewLinterBuilder().Build(config.NewDefault())

for _, lc := range linters {
if lc.Internal {
Expand Down

0 comments on commit 4189280

Please sign in to comment.