Skip to content

Commit 85a2dba

Browse files
committed
chore: remove useless call to plugin builder
1 parent dcf07fa commit 85a2dba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/commands/help.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ func newHelpCommand(logger logutils.Log) *helpCommand {
5353
func (c *helpCommand) preRunE(_ *cobra.Command, _ []string) error {
5454
// The command doesn't depend on the real configuration.
5555
// It just needs the list of all plugins and all presets.
56-
dbManager, err := lintersdb.NewManager(c.log.Child(logutils.DebugKeyLintersDB), config.NewDefault(),
57-
lintersdb.NewPluginGoBuilder(c.log), lintersdb.NewLinterBuilder())
56+
dbManager, err := lintersdb.NewManager(c.log.Child(logutils.DebugKeyLintersDB), config.NewDefault(), lintersdb.NewLinterBuilder())
5857
if err != nil {
5958
return err
6059
}

0 commit comments

Comments
 (0)