File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ export class QueryInfo {
122122 ) : Promise < messages . CompilationMessage [ ] > {
123123 let compiled : messages . CheckQueryResult | undefined ;
124124 try {
125+ const target = this . quickEvalPosition ? {
126+ quickEval : { quickEvalPos : this . quickEvalPosition }
127+ } : { query : { } } ;
125128 const params : messages . CompileQueryParams = {
126129 compilationOptions : {
127130 computeNoLocationUrls : true ,
@@ -137,11 +140,7 @@ export class QueryInfo {
137140 } ,
138141 queryToCheck : this . program ,
139142 resultPath : this . compiledQueryPath ,
140- target : this . quickEvalPosition ? {
141- quickEval : { quickEvalPos : this . quickEvalPosition }
142- } : {
143- query : { }
144- }
143+ target,
145144 } ;
146145
147146 compiled = await helpers . withProgress ( {
You can’t perform that action at this time.
0 commit comments