We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9f5304 commit f51cde7Copy full SHA for f51cde7
packages/angular/cli/commands/update-impl.ts
@@ -667,7 +667,9 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
667
for (const migration of migrations) {
668
const result = await this.executeMigrations(
669
migration.package,
670
- migration.collection,
+ // Resolve the collection from the workspace root, as otherwise it will be resolved from the temp
671
+ // installed CLI version.
672
+ require.resolve(migration.collection, { paths: [this.workspace.root] }),
673
new semver.Range('>' + migration.from + ' <=' + migration.to),
674
options.createCommits,
675
);
0 commit comments