mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-18 23:52:42 +00:00
fix(bootstrap): await plugin initialization
This commit is contained in:
parent
548d9ac726
commit
4246368a88
1 changed files with 1 additions and 1 deletions
|
|
@ -15,9 +15,9 @@ import * as Effect from "effect/Effect"
|
|||
|
||||
export const InstanceBootstrap = Effect.gen(function* () {
|
||||
Log.Default.info("bootstrapping", { directory: Instance.directory })
|
||||
yield* Plugin.Service.use((svc) => svc.init())
|
||||
yield* Effect.all(
|
||||
[
|
||||
Plugin.Service,
|
||||
LSP.Service,
|
||||
ShareNext.Service,
|
||||
Format.Service,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue