-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
[Refactor] use more explicit assert.ok
#451
Conversation
@isaacs does this need documentation since it's such a small change? |
I'd assume not; virtually nobody but me's going to notice. |
@ljharb I'm actually a bit curious why you were running into an issue with this. |
@nicolas377 see the second sentence in the OP. In node 0.6+, this will behave identically. Absolutely nothing needs to be documented that affects an older version of node than that :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isaacs LGTM! All the functionality this changes is out of scope of this package's supported node versions.
Oh god, I think I know what's going on here lol 😂 Do you need this backported to v7? v8 is node 12+ already anyway. |
PR-URL: #451 Credit: @ljharb Close: #451 Reviewed-by: @nicolas377
@isaacs ideally yes, but i understand if you're unwilling. either way this drastically reduces the number of n_m patches i need to float :-) |
PR-URL: #451 Credit: @ljharb Close: #451 Reviewed-by: @nicolas377
Published on 7.2.2 and 8.0.3 |
This is a tiny refactor, hopefully it's acceptable.
(We'll all be much happier if you choose not to ask why i need this change :-) )