We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2c86ae commit e5305abCopy full SHA for e5305ab
1 file changed
extensions/ql-vscode/src/run-queries.ts
@@ -122,6 +122,9 @@ export class QueryInfo {
122
): Promise<messages.CompilationMessage[]> {
123
let compiled: messages.CheckQueryResult | undefined;
124
try {
125
+ const target = this.quickEvalPosition ? {
126
+ quickEval: { quickEvalPos: this.quickEvalPosition }
127
+ } : { query: {} };
128
const params: messages.CompileQueryParams = {
129
compilationOptions: {
130
computeNoLocationUrls: true,
@@ -137,11 +140,7 @@ export class QueryInfo {
137
140
},
138
141
queryToCheck: this.program,
139
142
resultPath: this.compiledQueryPath,
- target: this.quickEvalPosition ? {
- quickEval: { quickEvalPos: this.quickEvalPosition }
- } : {
143
- query: {}
144
- }
+ target,
145
};
146
147
compiled = await helpers.withProgress({
0 commit comments