Skip to content

Commit

Permalink
fix: opts object is not taken into account
Browse files Browse the repository at this point in the history
when checking setting MATCH_MANIFEST_VERSIONS

Signed-off-by: Zvi Grinberg <[email protected]>
  • Loading branch information
zvigrinberg committed Oct 30, 2023
1 parent 46b3f50 commit 1efc987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/golang_gomodules.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function getSBOM(manifest, opts = {}, includeTransitive) {
let sbom = new Sbom();
let rows = goGraphOutput.split(EOL);
let root = getParentVertexFromEdge(rows[0])
let matchManifestVersions = getCustom("MATCH_MANIFEST_VERSIONS","false");
let matchManifestVersions = getCustom("MATCH_MANIFEST_VERSIONS","false",opts);
if(matchManifestVersions === "true") {
{
performManifestVersionsCheck(root, rows, manifest)
Expand Down

0 comments on commit 1efc987

Please sign in to comment.