File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ async function updateUseTsgoSetting(enable: boolean): Promise<void> {
47
47
if ( useTsgo ) {
48
48
target = useTsgo . workspaceFolderValue !== undefined ? vscode . ConfigurationTarget . WorkspaceFolder :
49
49
useTsgo . workspaceValue !== undefined ? vscode . ConfigurationTarget . Workspace :
50
- useTsgo . globalValue !== undefined ? vscode . ConfigurationTarget . Global : undefined ;
50
+ useTsgo . globalValue !== undefined ? vscode . ConfigurationTarget . Global : undefined ;
51
51
}
52
52
// Update the setting and restart the extension host (needed to change the state of the built-in TS extension)
53
53
await tsConfig . update ( "experimental.useTsgo" , enable , target ) ;
Original file line number Diff line number Diff line change 6
6
registerLanguageCommands ,
7
7
} from "./commands" ;
8
8
import { setupStatusBar } from "./statusBar" ;
9
- import { setupVersionStatusItem } from "./versionStatusItem" ;
10
9
import { needsExtHostRestartOnChange } from "./util" ;
10
+ import { setupVersionStatusItem } from "./versionStatusItem" ;
11
11
12
12
export async function activate ( context : vscode . ExtensionContext ) {
13
13
await vscode . commands . executeCommand ( "setContext" , "typescript.native-preview.serverRunning" , false ) ;
Original file line number Diff line number Diff line change @@ -100,4 +100,4 @@ export async function restartExtHostOnChangeIfNeeded(): Promise<void> {
100
100
if ( needsExtHostRestartOnChange ( ) ) {
101
101
await vscode . commands . executeCommand ( "workbench.action.restartExtensionHost" ) ;
102
102
}
103
- }
103
+ }
You can’t perform that action at this time.
0 commit comments