@@ -6,7 +6,7 @@ let run = false;
6
6
export async function initNxConversion (
7
7
context : ExtensionContext ,
8
8
isAngularWorkspace : boolean ,
9
- isNxWorkspace : boolean
9
+ isNxWorkspace : boolean ,
10
10
) {
11
11
let workspaceType : 'nx' | 'angular' | 'angularWithNx' = 'nx' ;
12
12
if ( isNxWorkspace && isAngularWorkspace ) {
@@ -33,7 +33,7 @@ export async function initNxConversion(
33
33
'nxConsole.migrateAngularCliToNx' ,
34
34
( ) => {
35
35
commands . executeCommand ( 'nx.init' , true ) ;
36
- }
36
+ } ,
37
37
) ;
38
38
context . subscriptions . push ( command ) ;
39
39
@@ -45,7 +45,7 @@ export async function initNxConversion(
45
45
const answer = await window . showInformationMessage (
46
46
`Want to migrate? Migrate your Angular workspace to Nx and get features like remote caching, distributed builds, and atomized tests out of the box.` ,
47
47
'Migrate Now' ,
48
- 'Learn More'
48
+ 'Learn More' ,
49
49
) ;
50
50
if ( answer === 'Migrate Now' ) {
51
51
commands . executeCommand ( 'nxConsole.migrateAngularCliToNx' ) ;
@@ -54,7 +54,7 @@ export async function initNxConversion(
54
54
if ( answer === 'Learn More' ) {
55
55
commands . executeCommand (
56
56
'vscode.open' ,
57
- 'https://nx.dev/recipes/adopting-nx /migration- angular'
57
+ 'https://nx.dev/technologies/angular /migration/angular#migrating-an- angular-cli-project-to-nx?utm_source=nx-console' ,
58
58
) ;
59
59
return ;
60
60
}
0 commit comments