mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 08:57:21 +00:00
fix unresolve promise in loadPlugins
This commit is contained in:
parent
d45b98445f
commit
0c73ce847b
1 changed files with 1 additions and 1 deletions
|
@ -248,11 +248,11 @@ export async function loadPlugins (foundPlugins: PluginInfo[], progress: Progres
|
|||
pluginModule.pluginName = foundPlugin.name
|
||||
pluginModule.bootstrap = packageModule.bootstrap
|
||||
plugins.push(pluginModule)
|
||||
setTimeout(x, 50)
|
||||
} catch (error) {
|
||||
console.error(`Could not load ${foundPlugin.name}:`, error)
|
||||
}
|
||||
setProgress()
|
||||
setTimeout(x, 50)
|
||||
}))
|
||||
}
|
||||
progress(1, 1)
|
||||
|
|
Loading…
Reference in a new issue