File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/svelte-vscode/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class TsPlugin {
4646 return ;
4747 }
4848
49- const answers = [ 'Ask again later' , "Don't show this message again" , 'Enable Plugin '] ;
49+ const answers = [ 'Enable' , 'Later' , 'Do not show again'] ;
5050 const response = await window . showInformationMessage (
5151 'The Svelte for VS Code extension now contains a TypeScript plugin. ' +
5252 'Enabling it will provide intellisense for Svelte files from TS/JS files. ' +
@@ -55,9 +55,9 @@ export class TsPlugin {
5555 ...answers
5656 ) ;
5757
58- if ( response === answers [ 2 ] ) {
58+ if ( response === answers [ 0 ] ) {
5959 workspace . getConfiguration ( 'svelte' ) . update ( 'enable-ts-plugin' , true , true ) ;
60- } else if ( response === answers [ 1 ] ) {
60+ } else if ( response === answers [ 2 ] ) {
6161 workspace . getConfiguration ( 'svelte' ) . update ( 'ask-to-enable-ts-plugin' , false , true ) ;
6262 }
6363 }
You can’t perform that action at this time.
0 commit comments