Skip to content

Commit 6053663

Browse files
committed
Don't attempt to interpret results when running quick-eval
459d6a9 introduced a bug where quickEvalPosition -- which indicates that the query was spawned via quick-eval -- was not being passed through in the completed query info. This meant the extension tried to interpret the results with the metadata from the enclosing file, which would then fail if it was a .ql file with metadata.
1 parent eee7f3b commit 6053663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class LocalQueryRun {
188188
result.outputBaseName,
189189
this.dbItem.databaseUri.fsPath,
190190
await this.dbItem.hasMetadataFile(),
191-
undefined,
191+
this.queryInfo.initialInfo.quickEvalPosition,
192192
metadata,
193193
);
194194

0 commit comments

Comments
 (0)