Fix tests (again).

This commit is contained in:
Sam Rose 2025-01-20 15:08:50 +00:00
parent 0b1ff21da5
commit 75dac8f334
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -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()) {