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

chore: fix tests for node 19 #5891

Merged
merged 1 commit into from
Nov 30, 2022
Merged

chore: fix tests for node 19 #5891

merged 1 commit into from
Nov 30, 2022

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Nov 23, 2022

node 19 appears to have made it so that we can't delete the process.exitCode property. overwriting it with undefined will have to do moving forward

@nlf nlf requested a review from a team as a code owner November 23, 2022 22:52
delete process.exitCode
process.exitCode = undefined
Copy link
Collaborator

Choose a reason for hiding this comment

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

was this an intentional change in node? it may be worth filing an issue or commenting on the PR that made the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you may be correct that this was unintentional. i found another breakage in related code. opened an issue here: nodejs/node#45683

@fritzy fritzy merged commit 153c142 into latest Nov 30, 2022
@fritzy fritzy deleted the nlf/exit-code-change branch November 30, 2022 21:21
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

4 participants