File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed
Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,15 @@ export function mapLocalQueryItemToDomainModel(
3232 localQuery . failureReason ,
3333 localQuery . completedQuery &&
3434 mapCompletedQueryInfoToDomainModel ( localQuery . completedQuery ) ,
35- {
36- log : localQuery . evalLogLocation ,
37- humanReadableSummary : localQuery . evalLogSummaryLocation ,
38- jsonSummary : localQuery . jsonEvalLogSummaryLocation ,
39- summarySymbols : localQuery . evalLogSummarySymbolsLocation ,
40- endSummary : undefined ,
41- } ,
35+ localQuery . evalLogLocation
36+ ? {
37+ log : localQuery . evalLogLocation ,
38+ humanReadableSummary : localQuery . evalLogSummaryLocation ,
39+ jsonSummary : localQuery . jsonEvalLogSummaryLocation ,
40+ summarySymbols : localQuery . evalLogSummarySymbolsLocation ,
41+ endSummary : undefined ,
42+ }
43+ : undefined ,
4244 ) ;
4345}
4446
Original file line number Diff line number Diff line change @@ -200,13 +200,7 @@ 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 = {
204- log : undefined ,
205- humanReadableSummary : undefined ,
206- endSummary : undefined ,
207- jsonSummary : undefined ,
208- summarySymbols : undefined ,
209- } ,
203+ public evalutorLogPaths ?: EvaluatorLogPaths ,
210204 ) {
211205 /**/
212206 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ import type { ProgressCallback } from "./common/vscode/progress";
4545 * Holds the paths to the various structured log summary files generated for a query evaluation.
4646 */
4747export interface EvaluatorLogPaths {
48- log : string | undefined ;
48+ log : string ;
4949 humanReadableSummary : string | undefined ;
5050 endSummary : string | undefined ;
5151 jsonSummary : string | undefined ;
You can’t perform that action at this time.
0 commit comments