Skip to content

Commit

Permalink
Setting 'installDeps' to default to true (#1584)
Browse files Browse the repository at this point in the history
Setting 'installDeps' to default to true, but not override when set from the CLI

Signed-off-by: Roland Asmann <[email protected]>
  • Loading branch information
malice00 authored Jan 20, 2025
1 parent 3371526 commit b92f4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cdxgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ const args = yargs(hideBin(process.argv))
})
.option("install-deps", {
type: "boolean",
default: true,
description:
"Install dependencies automatically for some projects. Defaults to true but disabled for containers and oci scans. Use --no-install-deps to disable this feature.",
})
Expand Down Expand Up @@ -506,7 +507,6 @@ const applyAdvancedOptions = (options) => {
options.installDeps = true;
break;
default:
options.installDeps = true;
break;
}
// When the user specifies source-code-analysis as a technique, then enable deep and evidence mode.
Expand Down

0 comments on commit b92f4bd

Please sign in to comment.