Fix wrong usage of the progress bar

This commit is contained in:
Clem 2023-06-05 11:44:43 +02:00 committed by GitHub
parent 0c73ce847b
commit ac596e323b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,8 +255,8 @@ export async function loadPlugins (foundPlugins: PluginInfo[], progress: Progres
setTimeout(x, 50)
}))
}
progress(1, 1)
await Promise.all(pluginsPromises)
progress(1, 1)
return plugins
}