Skip to content

Commit 9957b21

Browse files
Alexander Eyers-Tayloraeisenberg
andauthored
Fix missing DIL for new query server (#1623)
* Fix missing DIL for new query server * Fix DIL error message when QLO was not expected. * Update extensions/ql-vscode/src/run-queries-shared.ts Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent 38f22b6 commit 9957b21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export async function compileAndRunQueryAgainstDatabase(
7878
singletonExternalInputs: templates || {},
7979
outputPath: query.resultsPaths.resultsPath,
8080
queryPath: initialInfo.queryPath,
81+
dilPath: query.dilPath,
8182
logPath,
8283
target,
8384
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class QueryEvaluationInfo {
198198
// This could be from the new query server
199199
// in which case we expect the qlo to be missing so we should ignore it
200200
throw new Error(
201-
`DIL was not found. ${compiledQuery}`
201+
`DIL was not found. Expected location: '${this.dilPath}'`
202202
);
203203
} else {
204204
throw new Error(

0 commit comments

Comments
 (0)