Update extensions/ql-vscode/src/log-insights/log-scanner-service.ts

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
Dave Bartolomeo
2022-08-12 15:50:28 -04:00
committed by GitHub
parent 8383a76e43
commit cf925c256f

View File

@@ -73,7 +73,7 @@ export class LogScannerService extends DisposableObject {
): Promise<void> {
this.diagnosticCollection.clear();
if ((query === undefined) || (query.t !== 'local') || (query.jsonEvalLogSummaryLocation === undefined)) {
if (query?.t !== 'local' || query.jsonEvalLogSummaryLocation === undefined) {
return;
}