Skip to content

Commit d96d4e4

Browse files
feat(CSAF2.1): #287 add mandatory test 6.1.42 - fix quotes
1 parent 42964f9 commit d96d4e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

csaf_2_1/mandatoryTests/mandatoryTest_6_1_26.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export function mandatoryTest_6_1_26(doc) {
7373
if (category.toLowerCase().startsWith('csaf_')) {
7474
ctx.isValid = false
7575
ctx.errors.push({
76-
instancePath: `/document/category`,
77-
message: `reserved prefix used`,
76+
instancePath: '/document/category',
77+
message: 'reserved prefix used',
7878
})
7979

8080
return ctx
@@ -88,8 +88,8 @@ export function mandatoryTest_6_1_26(doc) {
8888
) {
8989
ctx.isValid = false
9090
ctx.errors.push({
91-
instancePath: `/document/category`,
92-
message: `value prohibited`,
91+
instancePath: '/document/category',
92+
message: 'value prohibited',
9393
})
9494
}
9595
return ctx

0 commit comments

Comments
 (0)