Skip to content

Commit fd15f29

Browse files
authored
Default useTsgo settings change to user preferences (#1879)
1 parent a05e479 commit fd15f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_extension/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function updateUseTsgoSetting(enable: boolean): Promise<void> {
5050
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)
53-
await tsConfig.update("experimental.useTsgo", enable, target);
53+
await tsConfig.update("experimental.useTsgo", enable, target ?? vscode.ConfigurationTarget.Global);
5454
await restartExtHostOnChangeIfNeeded();
5555
}
5656

0 commit comments

Comments
 (0)