File tree 1 file changed +5
-2
lines changed
src/shadow/arborist/lib/arborist
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -364,17 +364,20 @@ export async function reify(
364
364
this : SafeArborist ,
365
365
...args : Parameters < InstanceType < ArboristClass > [ 'reify' ] >
366
366
) : Promise < SafeNode > {
367
+ const IPC = await getIPC ( )
367
368
// We are assuming `this[_diffTrees]()` has been called by `super.reify(...)`:
368
369
// https://github.com/npm/cli/blob/v11.0.0/workspaces/arborist/lib/arborist/reify.js#L141
369
- let needInfoOn = getPackagesToQueryFromDiff ( this . diff )
370
+ let needInfoOn = getPackagesToQueryFromDiff ( this . diff , {
371
+ includeUnchanged : IPC [ SOCKET_CLI_FIX_PACKAGE_LOCK_FILE ]
372
+ } )
370
373
if ( ! needInfoOn . length ) {
371
374
// Nothing to check, hmmm already installed or all private?
372
375
return await this [ kRiskyReify ] ( ...args )
373
376
}
374
377
const {
375
378
[ SOCKET_CLI_FIX_PACKAGE_LOCK_FILE ] : bypassConfirms ,
376
379
[ SOCKET_CLI_UPDATE_OVERRIDES_IN_PACKAGE_LOCK_FILE ] : bypassAlerts
377
- } = await getIPC ( )
380
+ } = IPC
378
381
const { stderr : output , stdin : input } = process
379
382
let alerts : SocketPackageAlert [ ] = bypassAlerts
380
383
? [ ]
You can’t perform that action at this time.
0 commit comments