Skip to content

Commit 8d30ec9

Browse files
feat(CSAF2.1): #197 mandatory test 6.1.7 - add '' to message
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
1 parent 56426c1 commit 8d30ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csaf_2_1/mandatoryTests/mandatoryTest_6_1_7.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function mandatoryTest_6_1_7(doc) {
191191
isValid = false
192192
const sourceOfMetric = metric.source ? metric.source : ''
193193
errors.push({
194-
message: `Product is member of more than one CVSS-Vectors with the same version '${sameVersion}' and same source ${sourceOfMetric}.`,
194+
message: `Product is member of more than one CVSS-Vectors with the same version '${sameVersion}' and same source '${sourceOfMetric}'.`,
195195
instancePath: `/vulnerabilities/${vulnerabilityIndex}/metrics/${metricIndex}/products/${productIndex}`,
196196
})
197197
}

0 commit comments

Comments
 (0)