Skip to content

Commit d4079cb

Browse files
Additional clean up of code
1 parent 5c5aa51 commit d4079cb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

extensions/ql-vscode/src/quickEvalCodeLensProvider.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import {
77
} from 'vscode';
88

99
class QuickEvalCodeLensProvider implements CodeLensProvider {
10-
// Each provider requires a provideCodeLenses function which will give the various documents
11-
// the code lenses
1210
async provideCodeLenses(document: TextDocument): Promise<CodeLens[]> {
1311

1412
const codeLenses: CodeLens[] = [];
@@ -24,11 +22,10 @@ class QuickEvalCodeLensProvider implements CodeLensProvider {
2422
textLine.range.start.line, matches.index!,
2523
textLine.range.end.line, matches.index! + 1
2624
);
27-
console.log(range);
2825

2926
const command: Command = {
3027
command: 'codeQL.codeLensQuickEval',
31-
title: `Quick Evaluation: ${matches![1]}`,
28+
title: `Quick Evaluation: ${matches[1]}`,
3229
arguments: [document.uri, range]
3330
};
3431
const codeLens = new CodeLens(range, command);

0 commit comments

Comments
 (0)