Skip to content

Commit 449184f

Browse files
committed
Format
1 parent 29eaf4a commit 449184f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_extension/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function updateUseTsgoSetting(enable: boolean): Promise<void> {
4747
if (useTsgo) {
4848
target = useTsgo.workspaceFolderValue !== undefined ? vscode.ConfigurationTarget.WorkspaceFolder :
4949
useTsgo.workspaceValue !== undefined ? vscode.ConfigurationTarget.Workspace :
50-
useTsgo.globalValue !== undefined ? vscode.ConfigurationTarget.Global : undefined;
50+
useTsgo.globalValue !== undefined ? vscode.ConfigurationTarget.Global : undefined;
5151
}
5252
// Update the setting and restart the extension host (needed to change the state of the built-in TS extension)
5353
await tsConfig.update("experimental.useTsgo", enable, target);

_extension/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
registerLanguageCommands,
77
} from "./commands";
88
import { setupStatusBar } from "./statusBar";
9-
import { setupVersionStatusItem } from "./versionStatusItem";
109
import { needsExtHostRestartOnChange } from "./util";
10+
import { setupVersionStatusItem } from "./versionStatusItem";
1111

1212
export async function activate(context: vscode.ExtensionContext) {
1313
await vscode.commands.executeCommand("setContext", "typescript.native-preview.serverRunning", false);

_extension/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ export async function restartExtHostOnChangeIfNeeded(): Promise<void> {
100100
if (needsExtHostRestartOnChange()) {
101101
await vscode.commands.executeCommand("workbench.action.restartExtensionHost");
102102
}
103-
}
103+
}

0 commit comments

Comments
 (0)