File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 7
7
} from 'vscode' ;
8
8
9
9
class QuickEvalCodeLensProvider implements CodeLensProvider {
10
- // Each provider requires a provideCodeLenses function which will give the various documents
11
- // the code lenses
12
10
async provideCodeLenses ( document : TextDocument ) : Promise < CodeLens [ ] > {
13
11
14
12
const codeLenses : CodeLens [ ] = [ ] ;
@@ -24,11 +22,10 @@ class QuickEvalCodeLensProvider implements CodeLensProvider {
24
22
textLine . range . start . line , matches . index ! ,
25
23
textLine . range . end . line , matches . index ! + 1
26
24
) ;
27
- console . log ( range ) ;
28
25
29
26
const command : Command = {
30
27
command : 'codeQL.codeLensQuickEval' ,
31
- title : `Quick Evaluation: ${ matches ! [ 1 ] } ` ,
28
+ title : `Quick Evaluation: ${ matches [ 1 ] } ` ,
32
29
arguments : [ document . uri , range ]
33
30
} ;
34
31
const codeLens = new CodeLens ( range , command ) ;
You can’t perform that action at this time.
0 commit comments