Fix tests (again).
This commit is contained in:
parent
0b1ff21da5
commit
75dac8f334
|
@ -18,6 +18,7 @@ import * as queryRow from "./steps/queryRows"
|
||||||
import * as collect from "./steps/collect"
|
import * as collect from "./steps/collect"
|
||||||
import * as triggerAutomationRun from "./steps/triggerAutomationRun"
|
import * as triggerAutomationRun from "./steps/triggerAutomationRun"
|
||||||
import * as openai from "./steps/openai"
|
import * as openai from "./steps/openai"
|
||||||
|
import * as bash from "./steps/bash"
|
||||||
import env from "../environment"
|
import env from "../environment"
|
||||||
import {
|
import {
|
||||||
PluginType,
|
PluginType,
|
||||||
|
@ -88,9 +89,8 @@ export const BUILTIN_ACTION_DEFINITIONS: Record<
|
||||||
// the fact this isn't included in any definitions means it cannot be
|
// the fact this isn't included in any definitions means it cannot be
|
||||||
// ran at all
|
// ran at all
|
||||||
if (env.SELF_HOSTED) {
|
if (env.SELF_HOSTED) {
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
ACTION_IMPLS["EXECUTE_BASH"] = automations.steps.bash.run
|
ACTION_IMPLS["EXECUTE_BASH"] = bash.run
|
||||||
// @ts-ignore
|
|
||||||
BUILTIN_ACTION_DEFINITIONS["EXECUTE_BASH"] = automations.steps.bash.definition
|
BUILTIN_ACTION_DEFINITIONS["EXECUTE_BASH"] = automations.steps.bash.definition
|
||||||
|
|
||||||
if (env.isTest()) {
|
if (env.isTest()) {
|
||||||
|
|
Loading…
Reference in New Issue