Skip to content

Commit

Permalink
fix(migrate): loosen up migrate condition for missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Oct 11, 2021
1 parent 3afb00a commit 96af85b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/controllers/migrate-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,12 @@ export class MigrateController
this.$logger.trace(
`${shouldMigrateCommonMessage}'${dependency.packageName}' is missing.`
);

if (loose) {
// in loose mode we ignore missing dependencies
continue;
}

return true;
}

Expand Down

0 comments on commit 96af85b

Please sign in to comment.