Move custom progress editing from loadExternalApiUsages into runExternalApiQueries

This commit is contained in:
Robert
2023-09-05 16:42:04 +01:00
parent 816b66c57c
commit 95e4b04471
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ export async function runExternalApiQueries(
queryStorageDir,
additionalPacks,
extensionPacks,
progress,
progress: (update) => progress({ ...update, maxStep: 1500 }),
token,
// We need to create a lock file, because the query is inside our own pack
createLockFile: true,

View File

@@ -343,7 +343,7 @@ export class ModelEditorView extends AbstractWebview<
databaseItem: this.databaseItem,
queryStorageDir: this.queryStorageDir,
queryDir: this.queryDir,
progress: (update) => progress({ ...update, maxStep: 1500 }),
progress,
token: cancellationTokenSource.token,
});
if (!queryResult) {