Skip to content

Commit fa3e3ff

Browse files
committed
Initialise object even if evaluator log paths were omitted
1 parent e146e7a commit fa3e3ff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

extensions/ql-vscode/src/query-results.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,13 @@ export class LocalQueryInfo {
200200
private cancellationSource?: CancellationTokenSource, // used to cancel in progress queries
201201
public failureReason?: string,
202202
public completedQuery?: CompletedQueryInfo,
203-
public evalutorLogPaths?: EvaluatorLogPaths,
203+
public evalutorLogPaths: EvaluatorLogPaths = {
204+
log: undefined,
205+
humanReadableSummary: undefined,
206+
endSummary: undefined,
207+
jsonSummary: undefined,
208+
summarySymbols: undefined,
209+
},
204210
) {
205211
/**/
206212
}

0 commit comments

Comments
 (0)