File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
extensions/ql-vscode/src/log-insights Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,14 @@ export class LogScannerService extends DisposableObject {
7373 ) : Promise < void > {
7474 this . diagnosticCollection . clear ( ) ;
7575
76- if ( query ?. t !== 'local' || query . jsonEvalLogSummaryLocation === undefined ) {
76+ if ( ( query ?. t !== 'local' )
77+ || ( query . evalLogSummaryLocation === undefined )
78+ || ( query . jsonEvalLogSummaryLocation === undefined ) ) {
7779 return ;
7880 }
7981
8082 const diagnostics = await this . scanLog ( query . jsonEvalLogSummaryLocation , query . evalLogSummarySymbolsLocation ) ;
81- const uri = Uri . file ( query . evalLogSummaryLocation ! ) ;
83+ const uri = Uri . file ( query . evalLogSummaryLocation ) ;
8284 this . diagnosticCollection . set ( uri , diagnostics ) ;
8385 }
8486
You can’t perform that action at this time.
0 commit comments