mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
Fix wrong usage of the progress bar
This commit is contained in:
parent
0c73ce847b
commit
ac596e323b
1 changed files with 2 additions and 2 deletions
|
@ -255,8 +255,8 @@ export async function loadPlugins (foundPlugins: PluginInfo[], progress: Progres
|
||||||
setTimeout(x, 50)
|
setTimeout(x, 50)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
progress(1, 1)
|
|
||||||
|
|
||||||
await Promise.all(pluginsPromises)
|
await Promise.all(pluginsPromises)
|
||||||
|
|
||||||
|
progress(1, 1)
|
||||||
return plugins
|
return plugins
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue