@@ -267,11 +267,10 @@ export class LernaRepo extends Repository {
267
267
// https://github.com/lerna/lerna#lernajson
268
268
// "By default, lerna initializes the packages list as ["packages/*"]"
269
269
const packageGlobs = lernaJson . packages || [ '*' ] ;
270
- const packages = packageGlobs
270
+ return packageGlobs
271
271
. map ( ( pGlob ) => glob . sync ( pGlob ) )
272
272
. reduce ( ( x , y ) => x . concat ( y ) , [ ] )
273
273
. map ( ( pkg ) => path . join ( workingDir , pkg ) ) ;
274
- return packages ;
275
274
}
276
275
277
276
public validate ( ) : VersionValidation [ ] {
@@ -331,7 +330,9 @@ export class LernaRepo extends Repository {
331
330
public verifySignature ( packageNames : string [ ] ) : void {
332
331
const packages = this . packages . filter ( ( pkg ) => packageNames . includes ( pkg . name ) ) ;
333
332
for ( const pkg of packages ) {
334
- const cmd = `sfdx-trust plugins:trust:verify --npm ${ pkg . name } @${ pkg . getNextVersion ( ) } ` ;
333
+ const cmd = `sfdx-trust plugins:trust:verify --npm ${
334
+ pkg . name
335
+ } @${ pkg . getNextVersion ( ) } ${ this . registry . getRegistryParameter ( ) } `;
335
336
this . execCommand ( cmd ) ;
336
337
}
337
338
}
@@ -429,7 +430,9 @@ export class SinglePackageRepo extends Repository {
429
430
}
430
431
431
432
public verifySignature ( ) : void {
432
- const cmd = `sfdx-trust plugins:trust:verify --npm ${ this . name } @${ this . nextVersion } ` ;
433
+ const cmd = `sfdx-trust plugins:trust:verify --npm ${ this . name } @${
434
+ this . nextVersion
435
+ } ${ this . registry . getRegistryParameter ( ) } `;
433
436
this . execCommand ( cmd ) ;
434
437
}
435
438
0 commit comments