Skip to content

Commit cf925c2

Browse files
Dave Bartolomeoaeisenberg
andauthored
Update extensions/ql-vscode/src/log-insights/log-scanner-service.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent 8383a76 commit cf925c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class LogScannerService extends DisposableObject {
7373
): Promise<void> {
7474
this.diagnosticCollection.clear();
7575

76-
if ((query === undefined) || (query.t !== 'local') || (query.jsonEvalLogSummaryLocation === undefined)) {
76+
if (query?.t !== 'local' || query.jsonEvalLogSummaryLocation === undefined) {
7777
return;
7878
}
7979

0 commit comments

Comments
 (0)