File tree Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -216,9 +216,7 @@ export async function npmFix(
216
216
)
217
217
218
218
if ( ! oldVersions . length ) {
219
- logger . warn (
220
- `Unexpected condition: ${ name } not found in node_modules.\n` ,
221
- )
219
+ debugLog ( `${ name } not found, skipping.\n` )
222
220
// Skip to next package.
223
221
logger . dedent ( )
224
222
spinner ?. dedent ( )
@@ -246,11 +244,7 @@ export async function npmFix(
246
244
247
245
const node = findPackageNode ( actualTree , name , oldVersion )
248
246
if ( ! node ) {
249
- if ( hasAnnouncedWorkspace ) {
250
- logger . warn (
251
- `Unexpected condition: Arborist node not found, skipping ${ oldId } .` ,
252
- )
253
- }
247
+ debugLog ( `${ oldId } not found, skipping.` )
254
248
continue oldVersionsLoop
255
249
}
256
250
Original file line number Diff line number Diff line change @@ -312,9 +312,7 @@ export async function pnpmFix(
312
312
)
313
313
314
314
if ( ! oldVersions . length ) {
315
- logger . warn (
316
- `Unexpected condition: ${ name } not found in node_modules.\n` ,
317
- )
315
+ debugLog ( `${ name } not found, skipping.\n` )
318
316
// Skip to next package.
319
317
logger . dedent ( )
320
318
spinner ?. dedent ( )
@@ -350,11 +348,7 @@ export async function pnpmFix(
350
348
351
349
const node = findPackageNode ( actualTree , name , oldVersion )
352
350
if ( ! node ) {
353
- if ( hasAnnouncedWorkspace ) {
354
- logger . warn (
355
- `Unexpected condition: Arborist node not found, skipping ${ oldId } .` ,
356
- )
357
- }
351
+ debugLog ( `${ oldId } not found, skipping.` )
358
352
continue oldVersionsLoop
359
353
}
360
354
infosLoop: for ( const {
@@ -446,7 +440,7 @@ export async function pnpmFix(
446
440
)
447
441
// eslint-disable-next-line no-await-in-loop
448
442
if ( ! ( await editablePkgJson . save ( { ignoreWhitespace : true } ) ) ) {
449
- debugLog ( `${ workspace } /package.json not changed , skipping.` )
443
+ debugLog ( `${ workspace } /package.json unchanged , skipping.` )
450
444
// Reset things just in case.
451
445
if ( isCi ) {
452
446
// eslint-disable-next-line no-await-in-loop
You can’t perform that action at this time.
0 commit comments