File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,10 @@ export default class PackageRequest {
343
343
}
344
344
}
345
345
346
- await Promise . all ( promises ) ;
346
+ for ( const promise of promises ) {
347
+ await promise ;
348
+ }
349
+
347
350
ref . addDependencies ( deps ) ;
348
351
349
352
// Now that we have all dependencies, it's safe to propagate optional
Original file line number Diff line number Diff line change @@ -471,7 +471,10 @@ export default class PackageResolver {
471
471
this . frozen = Boolean ( isFrozen ) ;
472
472
this . workspaceLayout = workspaceLayout ;
473
473
const activity = ( this . activity = this . reporter . activity ( ) ) ;
474
- await Promise . all ( deps . map ( ( req ) : Promise < void > => this . find ( req ) ) ) ;
474
+
475
+ for ( const req of deps ) {
476
+ await this . find ( req ) ;
477
+ }
475
478
476
479
// all required package versions have been discovered, so now packages that
477
480
// resolved to existing versions can be resolved to their best available version
You can’t perform that action at this time.
0 commit comments