Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyskoedijk committed Nov 4, 2024
1 parent b91f785 commit 350373f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sbom-azure-devops",
"version": "1.0.14",
"version": "1.0.15",
"description": "SBOM Tool Azure DevOps Extension",
"main": "task/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion task/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 14
"Patch": 15
},
"instanceNameFormat": "Generate SBOM manifest",
"groups": [
Expand Down
4 changes: 2 additions & 2 deletions task/utils/spdx/spdxGraphToSvg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function spdxGraphToSvgAsync(spdxFilePath: string): Promise<string>
continue;
case 'SECURITY':
const advisory = parseSecurityAdvisory(externalRef);
referenceId = `${(advisory.cveId || advisory.ghsaId || externalRef.referenceLocator)} [${advisory.severity}]`;
referenceId = `${advisory.cveId || advisory.ghsaId || externalRef.referenceLocator} [${advisory.severity}]`;
referenceProperties = [
`CVE: ${advisory.cveId || NO_ASSERTION}`,
`GHSA: ${advisory.ghsaId || NO_ASSERTION}`,
Expand Down Expand Up @@ -181,7 +181,7 @@ function graphFileAndParentDirectoriesRecursive(
render: {
label: path.basename(nodePath),
tooltip: 'Directory',
shape: Shape.Underline,
fill_color: VERTEX_FILE_FILL_COLOR,
},
});

Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "sbom-tool",
"name": "SBOM Tool",
"description": "SBOM Tool. Generate SPDX 2.2 compatible SBOMs from Azure DevOps repository artifacts.",
"version": "1.0.14",
"version": "1.0.15",
"publisher": "rhyskoedijk",
"public": true,
"categories": ["Azure Pipelines"],
Expand Down

0 comments on commit 350373f

Please sign in to comment.