From 75dac8f3343540eb8d0e6e843e8fed909be931a1 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Mon, 20 Jan 2025 15:08:50 +0000 Subject: [PATCH] Fix tests (again). --- packages/server/src/automations/actions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/server/src/automations/actions.ts b/packages/server/src/automations/actions.ts index bdbd9d509d..65a57c2586 100644 --- a/packages/server/src/automations/actions.ts +++ b/packages/server/src/automations/actions.ts @@ -18,6 +18,7 @@ import * as queryRow from "./steps/queryRows" import * as collect from "./steps/collect" import * as triggerAutomationRun from "./steps/triggerAutomationRun" import * as openai from "./steps/openai" +import * as bash from "./steps/bash" import env from "../environment" import { PluginType, @@ -88,9 +89,8 @@ export const BUILTIN_ACTION_DEFINITIONS: Record< // the fact this isn't included in any definitions means it cannot be // ran at all if (env.SELF_HOSTED) { - // @ts-ignore - ACTION_IMPLS["EXECUTE_BASH"] = automations.steps.bash.run - // @ts-ignore + // @ts-expect-error + ACTION_IMPLS["EXECUTE_BASH"] = bash.run BUILTIN_ACTION_DEFINITIONS["EXECUTE_BASH"] = automations.steps.bash.definition if (env.isTest()) {