Update extensions/ql-vscode/src/log-insights/summary-language-support.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
@@ -119,8 +119,7 @@ export class SummaryLanguageSupport extends DisposableObject {
|
||||
private async updateContext(): Promise<void> {
|
||||
const position = await this.getQLSourceLocation();
|
||||
|
||||
const result = await commands.executeCommand('setContext', 'codeql.hasQLSource', position !== undefined);
|
||||
void result;
|
||||
await commands.executeCommand('setContext', 'codeql.hasQLSource', position !== undefined);
|
||||
}
|
||||
|
||||
handleDidChangeActiveTextEditor = async (editor: TextEditor | undefined): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user