Skip to content

Commit 576737c

Browse files
Dave Bartolomeoaeisenberg
andauthored
Update extensions/ql-vscode/src/log-insights/summary-language-support.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent 742aa4c commit 576737c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extensions/ql-vscode/src/log-insights/summary-language-support.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ export class SummaryLanguageSupport extends DisposableObject {
119119
private async updateContext(): Promise<void> {
120120
const position = await this.getQLSourceLocation();
121121

122-
const result = await commands.executeCommand('setContext', 'codeql.hasQLSource', position !== undefined);
123-
void result;
122+
await commands.executeCommand('setContext', 'codeql.hasQLSource', position !== undefined);
124123
}
125124

126125
handleDidChangeActiveTextEditor = async (editor: TextEditor | undefined): Promise<void> => {

0 commit comments

Comments
 (0)