Skip to content

chore: remove vestigial environment variables#1078

Merged
coreyfarrell merged 1 commit into
istanbuljs:masterfrom
isaacs:prune-old-environs
May 10, 2019
Merged

chore: remove vestigial environment variables#1078
coreyfarrell merged 1 commit into
istanbuljs:masterfrom
isaacs:prune-old-environs

Conversation

@isaacs
Copy link
Copy Markdown
Collaborator

@isaacs isaacs commented Apr 19, 2019

This removes the NYC_ROOT_ID and NYC_INSTRUMENTER environment variables, which are no longer used or necessary.

Probably best to leave NYC_CWD in place, since it's more load-bearing, and is sometimes inspected in user code to determine whether or not they're being covered by NYC.

Copy link
Copy Markdown
Member

@coreyfarrell coreyfarrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good idea but it needs to wait, we're not ready to merge breaking changes yet. I think we'll need to mark this as:

BREAKING CHANGE: Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental variables.
BREAKING CHANGE: The `root` field has been removed from processinfo files.

Although unlikely people are using these environment variables or the field of processinfo files they could be so I'd rather play it safe, just defer this change to 15.0.0.

This removes the NYC_ROOT_ID and NYC_INSTRUMENTER environment variables,
which are no longer used or necessary.

BREAKING CHANGE: Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental
variables.

BREAKING CHANGE: The `root` field has been removed from processinfo
files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants