From 43b1952b571201ae83611fd150f8ec246c30c378 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Fri, 10 Feb 2023 13:02:30 -0700 Subject: [PATCH] fix: config runHook interface --- src/interfaces/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/config.ts b/src/interfaces/config.ts index eb211311b..62f4cef6a 100644 --- a/src/interfaces/config.ts +++ b/src/interfaces/config.ts @@ -95,7 +95,7 @@ export interface Config { readonly commandIDs: string[]; runCommand(id: string, argv?: string[], cachedCommand?: Command.Loadable): Promise; - runHook(event: T, opts: Hooks[T]['options'], timeout?: number): Promise>; + runHook(event: T, opts: Hooks[T]['options'], timeout?: number, captureErrors?: boolean): Promise>; getAllCommandIDs(): string[] getAllCommands(): Command.Loadable[] findCommand(id: string, opts: { must: true }): Command.Loadable;