Merge pull request #1625 from github/aeisenberg/dil-fixes

A couple of small changes around the new query server
This commit is contained in:
Andrew Eisenberg
2022-10-20 10:38:20 -07:00
committed by GitHub
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