Skip to content

Commit 2f93a86

Browse files
committed
chore(migrate): Add Todo and cast migrateUIApi as any
1 parent da89bea commit 2f93a86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/vscode/migrate/src/lib/commands/migrate-commands.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ export async function viewDocumentation(migration: MigrationDetailsWithId) {
204204
export async function stopMigration(migration: MigrationDetailsWithId) {
205205
try {
206206
const workspacePath = getNxWorkspacePath();
207-
const migrateUIApi = await importMigrateUIApi(workspacePath);
207+
// 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;
208209

209210
const isStopped = migrateUIApi.killMigrationProcess(
210211
migration.id,

0 commit comments

Comments
 (0)