await config hooks

This commit is contained in:
Dax Raad
2025-08-21 11:24:48 -04:00
committed by opencode
parent 491abd6b5b
commit d686269377

View File

@@ -72,7 +72,7 @@ export namespace Plugin {
const hooks = await state().then((x) => x.hooks)
const config = await Config.get()
for (const hook of hooks) {
hook.config?.(config)
await hook.config?.(config)
}
Bus.subscribeAll(async (input) => {
const hooks = await state().then((x) => x.hooks)