fix: wait for dependencies before loading custom tools and plugins (#12227)

This commit is contained in:
Dax
2026-02-04 22:25:43 -05:00
committed by GitHub
parent 843bbc973a
commit 556adad67b
4 changed files with 71 additions and 16 deletions

View File

@@ -44,6 +44,7 @@ export namespace Plugin {
}
const plugins = [...(config.plugin ?? [])]
if (plugins.length) await Config.waitForDependencies()
if (!Flag.OPENCODE_DISABLE_DEFAULT_PLUGINS) {
plugins.push(...BUILTIN)
}