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(
32
32
localQuery . failureReason ,
33
33
localQuery . completedQuery &&
34
34
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 ,
42
44
) ;
43
45
}
44
46
Original file line number Diff line number Diff line change @@ -200,13 +200,7 @@ export class LocalQueryInfo {
200
200
private cancellationSource ?: CancellationTokenSource , // used to cancel in progress queries
201
201
public failureReason ?: string ,
202
202
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 ,
210
204
) {
211
205
/**/
212
206
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ import type { ProgressCallback } from "./common/vscode/progress";
45
45
* Holds the paths to the various structured log summary files generated for a query evaluation.
46
46
*/
47
47
export interface EvaluatorLogPaths {
48
- log : string | undefined ;
48
+ log : string ;
49
49
humanReadableSummary : string | undefined ;
50
50
endSummary : string | undefined ;
51
51
jsonSummary : string | undefined ;
You can’t perform that action at this time.
0 commit comments