Skip to content

Commit

Permalink
refactor: add missing plugin opening
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Jul 23, 2022
1 parent 2d05a27 commit bb8b9f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ func runScan() {
exitWithError(err)
}

for _, p := range pluginPaths {
err := remote.OpenPlugin(p)
if err != nil {
exitWithError(err)
}
}

f := filter.NewEngine()
f.AddRule(disabledScanners...)

Expand Down

0 comments on commit bb8b9f8

Please sign in to comment.