Skip to content

Commit 195c7e0

Browse files
Parse MAX_QUERIES as number
1 parent 7b1ac4d commit 195c7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class LocalQueries extends DisposableObject {
185185
private async runQueries(fileURIs: Uri[]): Promise<void> {
186186
await withProgress(
187187
async (progress, token) => {
188-
const maxQueryCount = MAX_QUERIES.getValue();
188+
const maxQueryCount = MAX_QUERIES.getValue<number>();
189189
const [files, dirFound] = await gatherQlFiles(
190190
fileURIs.map((uri) => uri.fsPath),
191191
);

0 commit comments

Comments
 (0)