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

fix: set processinfo pid/ppid to actual numbers #1057

Merged
merged 1 commit into from Apr 6, 2019

Conversation

isaacs
Copy link
Collaborator

@isaacs isaacs commented Apr 5, 2019

As of Node.js v6, process.ppid is available, and a number. So, there's
no need to pass the parent PID through the environment, which casts it
to a string.

@coreyfarrell
Copy link
Member

Note for when this merges: We should tag the squashed commit as a BREAKING CHANGE since this changes the data type of the pid/ppid fields in processinfo files.

As of Node.js v6, process.ppid is available, and a number.  So, there's
no need to pass the parent PID through the environment, which casts it
to a string.

BREAKING CHANGE: this changes the data type of the pid/ppid fields in
processinfo files
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 96.324% when pulling 32e2a10 on isaacs:processinfo-numeric-pid into 16d4315 on istanbuljs:master.

@coreyfarrell coreyfarrell merged commit 32f75b0 into istanbuljs:master Apr 6, 2019
@isaacs isaacs deleted the processinfo-numeric-pid branch April 6, 2019 04:16
@coreyfarrell coreyfarrell mentioned this pull request Apr 9, 2019
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.

None yet

3 participants