Skip to content

Commit 96af85b

Browse files
committed
fix(migrate): loosen up migrate condition for missing dependencies
1 parent 3afb00a commit 96af85b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/controllers/migrate-controller.ts

+6
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,12 @@ export class MigrateController
492492
this.$logger.trace(
493493
`${shouldMigrateCommonMessage}'${dependency.packageName}' is missing.`
494494
);
495+
496+
if (loose) {
497+
// in loose mode we ignore missing dependencies
498+
continue;
499+
}
500+
495501
return true;
496502
}
497503

0 commit comments

Comments
 (0)