Skip to content

NODE_ENV leaks into test run #21

Description

@jaredly

If you run strider with NODE_ENV=prod, npm install doesn't install dev modules.

Should we just block out the parent env entirely when running child processes? (with perhaps the exception of PATH)
https://github.com/Strider-CD/strider-simple-worker/blob/master/lib/job.js#L120

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions