File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,10 @@ export function checkPurls(purls) {
119
119
* @type {Array<PackageURL> }
120
120
*/
121
121
if ( packageUrls . length > 1 ) {
122
- const firstPurls = packageUrls [ 0 ]
122
+ const firstPurl = packageUrls [ 0 ]
123
123
for ( let i = 1 ; i < packageUrls . length ; i ++ ) {
124
124
const packageUrl = packageUrls [ i ]
125
- if ( ! packageUrl || ! onlyDifferInQualifiers ( firstPurls , packageUrl ) ) {
125
+ if ( ! packageUrl || ! onlyDifferInQualifiers ( firstPurl , packageUrl ) ) {
126
126
invalidPurls . push ( i )
127
127
}
128
128
}
@@ -190,7 +190,8 @@ export function mandatoryTest_6_1_42(doc) {
190
190
ctx . isValid = false
191
191
ctx . errors . push ( {
192
192
instancePath : `${ prefix } /product_identification_helper/purls/${ invalidPurlIndex } ` ,
193
- message : 'the PURL differs to the first PURL not only in qualifiers' ,
193
+ message :
194
+ 'the PURL differs from the first PURL in other parts than just the qualifiers' ,
194
195
} )
195
196
} )
196
197
}
@@ -211,7 +212,8 @@ export function mandatoryTest_6_1_42(doc) {
211
212
ctx . isValid = false
212
213
ctx . errors . push ( {
213
214
instancePath : `${ prefix } /product/product_identification_helper/purls/${ invalidPurlIndex } ` ,
214
- message : 'the PURL differs to the first PURL not only in qualifiers' ,
215
+ message :
216
+ 'the PURL differs from the first PURL in other parts than just the qualifiers' ,
215
217
} )
216
218
} )
217
219
branch . branches ?. forEach ( ( branch , index ) => {
You can’t perform that action at this time.
0 commit comments