Move custom progress editing from loadExternalApiUsages into runExternalApiQueries
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user