File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1225,9 +1225,14 @@ async function showPerformanceComparison(
1225
1225
const fromLog = from ?. evalutorLogPaths ?. jsonSummary ;
1226
1226
const toLog = to . evalutorLogPaths ?. jsonSummary ;
1227
1227
1228
- if ( fromLog === undefined || toLog === undefined ) {
1228
+ if ( from && fromLog === undefined ) {
1229
1229
return extLogger . showWarningMessage (
1230
- `Cannot compare performance as the structured logs are missing. Did they queries complete normally?` ,
1230
+ `Cannot compare performance as the "from" structured logs are missing. Did they queries complete normally?` ,
1231
+ ) ;
1232
+ }
1233
+ if ( toLog === undefined ) {
1234
+ return extLogger . showWarningMessage (
1235
+ `Cannot compare performance as the "to" structured logs are missing. Did they queries complete normally?` ,
1231
1236
) ;
1232
1237
}
1233
1238
if ( from ) {
You can’t perform that action at this time.
0 commit comments