Skip to content

Commit ae4e5db

Browse files
authored
Fix parser plugin 'exec: no command' error (#21)
1 parent 1e465f8 commit ae4e5db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/scanner/scanner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
)
4242

4343
type Scanner struct {
44-
plugins plugins.Config
44+
plugins *plugins.Config
4545
logging logging.Config
4646
dashboard dashboard.Config
4747
currency string
@@ -50,7 +50,7 @@ type Scanner struct {
5050

5151
func NewScanner(config *config.Config) *Scanner {
5252
return &Scanner{
53-
plugins: config.Plugins,
53+
plugins: &config.Plugins,
5454
logging: config.Logging,
5555
dashboard: config.Dashboard,
5656
currency: config.Currency,

0 commit comments

Comments
 (0)