mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
feat(nodejs): add support for include-dev-deps flag for yarn (#4812)
* add support for include-dev-deps flag * remove go.mod replace * refactor * bump go-dep-parser --------- Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -463,7 +463,6 @@ func NewRepositoryCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command {
|
||||
repoFlags.ReportFlagGroup.ReportFormat = nil // TODO: support --report summary
|
||||
repoFlags.ReportFlagGroup.Compliance = nil // disable '--compliance'
|
||||
repoFlags.ReportFlagGroup.ExitOnEOL = nil // disable '--exit-on-eol'
|
||||
repoFlags.ScanFlagGroup.IncludeDevDeps = nil // disable '--include-dev-deps'
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "repository [flags] REPO_URL",
|
||||
|
||||
Reference in New Issue
Block a user