Skip to content

Use case: WebDev BLOCKED -- shell invocations have NODE_ENV environment variable automatically set to production #151

@mrairdon-midmark

Description

@mrairdon-midmark

Describe the bug

Open up copilot on Windows. Tell it to run dir Env:. What you'll see is the NODE_ENV environment variable set to production.

Automatically setting this means that jest tests behave differently when run in the copilot cli compared with regular invocations.

Affected version

0.0.330 Commit: a8bfefe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions