@@ -781,7 +781,7 @@ export class QueryHistoryManager extends DisposableObject {
781781
782782 private async warnNoEvalLogSummary ( item : LocalQueryInfo ) {
783783 const evalLogLocation =
784- item . evalutorLogPaths ?. log ?? item . initialInfo . outputDir ?. evalLogPath ;
784+ item . evaluatorLogPaths ?. log ?? item . initialInfo . outputDir ?. evalLogPath ;
785785
786786 // Summary log file doesn't exist.
787787 if ( evalLogLocation && ( await pathExists ( evalLogLocation ) ) ) {
@@ -801,7 +801,7 @@ export class QueryHistoryManager extends DisposableObject {
801801 }
802802
803803 const evalLogLocation =
804- item . evalutorLogPaths ?. log ?? item . initialInfo . outputDir ?. evalLogPath ;
804+ item . evaluatorLogPaths ?. log ?? item . initialInfo . outputDir ?. evalLogPath ;
805805
806806 if ( evalLogLocation && ( await pathExists ( evalLogLocation ) ) ) {
807807 await tryOpenExternalFile ( this . app . commands , evalLogLocation ) ;
@@ -816,14 +816,14 @@ export class QueryHistoryManager extends DisposableObject {
816816 }
817817
818818 // If the summary file location wasn't saved, display error
819- if ( ! item . evalutorLogPaths ?. humanReadableSummary ) {
819+ if ( ! item . evaluatorLogPaths ?. humanReadableSummary ) {
820820 await this . warnNoEvalLogSummary ( item ) ;
821821 return ;
822822 }
823823
824824 await tryOpenExternalFile (
825825 this . app . commands ,
826- item . evalutorLogPaths . humanReadableSummary ,
826+ item . evaluatorLogPaths . humanReadableSummary ,
827827 ) ;
828828 }
829829
@@ -833,15 +833,15 @@ export class QueryHistoryManager extends DisposableObject {
833833 }
834834
835835 // If the JSON summary file location wasn't saved, display error
836- if ( item . evalutorLogPaths ?. jsonSummary === undefined ) {
836+ if ( item . evaluatorLogPaths ?. jsonSummary === undefined ) {
837837 await this . warnNoEvalLogSummary ( item ) ;
838838 return ;
839839 }
840840
841841 // TODO(angelapwen): Stream the file in.
842842 try {
843843 const evalLogData : EvalLogData [ ] = await parseViewerData (
844- item . evalutorLogPaths . jsonSummary ,
844+ item . evaluatorLogPaths . jsonSummary ,
845845 ) ;
846846 const evalLogTreeBuilder = new EvalLogTreeBuilder (
847847 item . getQueryName ( ) ,
@@ -850,7 +850,7 @@ export class QueryHistoryManager extends DisposableObject {
850850 this . evalLogViewer . updateRoots ( await evalLogTreeBuilder . getRoots ( ) ) ;
851851 } catch {
852852 throw new Error (
853- `Could not read evaluator log summary JSON file to generate viewer data at ${ item . evalutorLogPaths . jsonSummary } .` ,
853+ `Could not read evaluator log summary JSON file to generate viewer data at ${ item . evaluatorLogPaths . jsonSummary } .` ,
854854 ) ;
855855 }
856856 }
0 commit comments