Skip to content

Commit 59f1303

Browse files
committed
Remove unnecessary configuration update that was throwing
1 parent cd1aa95 commit 59f1303

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/omnisharp/omnisharpIntegrationTests/integrationHelpers.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ export interface ActivationResult {
1717
}
1818

1919
export async function activateCSharpExtension(): Promise<ActivationResult> {
20-
const configuration = vscode.workspace.getConfiguration();
21-
await configuration.update(
22-
'omnisharp.enableLspDriver',
23-
process.env.OMNISHARP_DRIVER === 'lsp' ? true : false,
24-
vscode.ConfigurationTarget.WorkspaceFolder
25-
);
26-
if (process.env.OMNISHARP_LOCATION) {
27-
await configuration.update('path', process.env.OMNISHARP_LOCATION, vscode.ConfigurationTarget.WorkspaceFolder);
28-
}
29-
3020
const csharpExtension = vscode.extensions.getExtension<OmnisharpExtensionExports>('ms-dotnettools.csharp');
3121
if (!csharpExtension) {
3222
throw new Error('Failed to find installation of ms-dotnettools.csharp');

0 commit comments

Comments
 (0)