From c3868e5e808d21185d3da6bb29285c3e95d77df8 Mon Sep 17 00:00:00 2001 From: Oliver Karstoft Date: Fri, 24 Jun 2022 13:27:08 +0200 Subject: [PATCH] Prettier --- src/service/artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/artifact.ts b/src/service/artifact.ts index 92ba414..29e969b 100644 --- a/src/service/artifact.ts +++ b/src/service/artifact.ts @@ -45,7 +45,7 @@ export async function getArtifacts( const vulnKey = 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' if (vulns[vulnKey] === undefined) { - vulns[vulnKey] = {severity: 'Unknown', vulnerabilities:[] } + vulns[vulnKey] = { severity: 'Unknown', vulnerabilities: [] } } let severity = vulns[vulnKey].severity if (severity === 'Unknown') {