We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da89bea commit 2f93a86Copy full SHA for 2f93a86
libs/vscode/migrate/src/lib/commands/migrate-commands.ts
@@ -204,7 +204,8 @@ export async function viewDocumentation(migration: MigrationDetailsWithId) {
204
export async function stopMigration(migration: MigrationDetailsWithId) {
205
try {
206
const workspacePath = getNxWorkspacePath();
207
- const migrateUIApi = await importMigrateUIApi(workspacePath);
+ // TODO: Remove the `as any` cast once the repository is updated to use the latest Nx version that exports the `killMigrationProcess` function.
208
+ const migrateUIApi = (await importMigrateUIApi(workspacePath)) as any;
209
210
const isStopped = migrateUIApi.killMigrationProcess(
211
migration.id,
0 commit comments