Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate for adaptors_path when building env for ShellRuntime #23

Open
stuartc opened this issue Mar 30, 2021 · 0 comments
Open

Validate for adaptors_path when building env for ShellRuntime #23

stuartc opened this issue Mar 30, 2021 · 0 comments

Comments

@stuartc
Copy link
Member

stuartc commented Mar 30, 2021

When RunSpec.adaptors_path isn't set then Rambo gets:

[
  timeout: 3000,
  log: #Function<1.77575986/1 in OpenFn.RunHandler.start/2>,
  env: %{
    "NODE_PATH" => nil,
    "PATH" => "./assets/node_mod...

The nil env var causes Rambo to raise an exception, we need to either enforce the use of the adaptors_path field or skip adding NODE_PATH to the env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant