Skip to content

Commit

Permalink
Remove no-op call to config.get (#669)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tamird authored Aug 6, 2024
1 parent f44f030 commit e5b0022
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import * as config from './config';
// Returns the clangd path to be used, or null if clangd is not installed.
export async function activate(
context: ClangdContext, globalStoragePath: string): Promise<string|null> {
// If the workspace overrides clangd.path, give the user a chance to bless it.
await config.get<string>('path');

const ui = new UI(context, globalStoragePath);
context.subscriptions.push(vscode.commands.registerCommand(
'clangd.install', async () => common.installLatest(ui)));
Expand Down

0 comments on commit e5b0022

Please sign in to comment.