Skip to content

3.x using Object.defineProperty with process.env failed #2998

@pmq20

Description

@pmq20

Originally discovered by @popomore .

In io.js 3.x, Using Object.defineProperty with process.env failed in that, process.env will not actually store the value into the environment variables but on the object itself. This also results in subsequent delete operation failed.

image

Other objects work fine.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    processIssues and PRs related to the process subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions