We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2bea3 commit 99756aeCopy full SHA for 99756ae
1 file changed
extensions/ql-vscode/src/log-insights/log-scanner-service.ts
@@ -73,12 +73,14 @@ export class LogScannerService extends DisposableObject {
73
): Promise<void> {
74
this.diagnosticCollection.clear();
75
76
- if (query?.t !== 'local' || query.jsonEvalLogSummaryLocation === undefined) {
+ if ((query?.t !== 'local')
77
+ || (query.evalLogSummaryLocation === undefined)
78
+ || (query.jsonEvalLogSummaryLocation === undefined)) {
79
return;
80
}
81
82
const diagnostics = await this.scanLog(query.jsonEvalLogSummaryLocation, query.evalLogSummarySymbolsLocation);
- const uri = Uri.file(query.evalLogSummaryLocation!);
83
+ const uri = Uri.file(query.evalLogSummaryLocation);
84
this.diagnosticCollection.set(uri, diagnostics);
85
86
0 commit comments