Skip to content

Commit a625a39

Browse files
authored
Merge pull request #1625 from github/aeisenberg/dil-fixes
A couple of small changes around the new query server
2 parents 9957b21 + 94ef752 commit a625a39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/ql-vscode/src/legacy-query-server/run-queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class QueryInProgress {
5454
}
5555

5656
get compiledQueryPath() {
57-
return path.join(this.querySaveDir, 'compiledQuery.qlo');
57+
return this.queryEvalInfo.compileQueryPath;
5858
}
5959

6060

extensions/ql-vscode/src/run-queries-shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class QueryEvaluationInfo {
192192
if (await this.hasDil()) {
193193
return this.dilPath;
194194
}
195-
const compiledQuery = path.join(this.querySaveDir, 'compiledQuery.qlo');
195+
const compiledQuery = this.compileQueryPath;
196196
if (!(await fs.pathExists(compiledQuery))) {
197197
if (await cliServer.cliConstraints.supportsNewQueryServer()) {
198198
// This could be from the new query server

0 commit comments

Comments
 (0)