A couple of small changes around the new query server

This commit is contained in:
Andrew Eisenberg
2022-10-18 14:50:16 -07:00
parent 9957b211e0
commit 94ef752c0b
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export class QueryInProgress {
}
get compiledQueryPath() {
return path.join(this.querySaveDir, 'compiledQuery.qlo');
return this.queryEvalInfo.compileQueryPath;
}

View File

@@ -192,7 +192,7 @@ export class QueryEvaluationInfo {
if (await this.hasDil()) {
return this.dilPath;
}
const compiledQuery = path.join(this.querySaveDir, 'compiledQuery.qlo');
const compiledQuery = this.compileQueryPath;
if (!(await fs.pathExists(compiledQuery))) {
if (await cliServer.cliConstraints.supportsNewQueryServer()) {
// This could be from the new query server