Skip to content

Commit e5b0022

Browse files
authored
Remove no-op call to config.get (#669)
Prior to db14900, this function call had the possible side effect of showing the user a prompt, and we were calling it for this side effect.
1 parent f44f030 commit e5b0022

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/install.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import * as config from './config';
1212
// Returns the clangd path to be used, or null if clangd is not installed.
1313
export async function activate(
1414
context: ClangdContext, globalStoragePath: string): Promise<string|null> {
15-
// If the workspace overrides clangd.path, give the user a chance to bless it.
16-
await config.get<string>('path');
17-
1815
const ui = new UI(context, globalStoragePath);
1916
context.subscriptions.push(vscode.commands.registerCommand(
2017
'clangd.install', async () => common.installLatest(ui)));

0 commit comments

Comments
 (0)