File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -472,11 +472,11 @@ function sendInlayHintsRefresh() {
472
472
send ( request ) ;
473
473
}
474
474
475
- function codeLens ( msg : p . RequestMessage ) {
475
+ async function codeLens ( msg : p . RequestMessage ) {
476
476
const params = msg . params as p . CodeLensParams ;
477
477
const filePath = fileURLToPath ( params . textDocument . uri ) ;
478
478
479
- const response = utils . runAnalysisCommand (
479
+ const response = await utils . runAnalysisCommand (
480
480
filePath ,
481
481
[ "codeLens" , filePath ] ,
482
482
msg
@@ -1262,7 +1262,7 @@ async function onMessage(msg: p.Message) {
1262
1262
let params = msg . params as CodeLensParams ;
1263
1263
let extName = path . extname ( params . textDocument . uri ) ;
1264
1264
if ( extName === c . resExt ) {
1265
- send ( codeLens ( msg ) ) ;
1265
+ send ( await codeLens ( msg ) ) ;
1266
1266
}
1267
1267
} else if ( msg . method === p . SignatureHelpRequest . method ) {
1268
1268
let params = msg . params as SignatureHelpParams ;
You can’t perform that action at this time.
0 commit comments