Conversation
|
The commit log should explain what and, importantly, why. |
|
@leeseean Thanks so much for your first contribution 🎉 . Looks good to me. Could we change to commit message to something like this? The Contributing.md doc describes how to update a commit message: |
apapirovski
left a comment
There was a problem hiding this comment.
LGTM with the commit message improved
That is, we have these checks all over the place. It feels a bit haphazard to update them in just two places. If I'm being honest, I don't think it's very useful. Replacing (See what I did there?) |
(Wasn't particularly in favour in the first place and since the consensus is against it...)
|
If anyone is strongly against landing it, please speak up. Otherwise I am going to land this even though I personally agree that in this case there is not much benefit of changing it. |
|
I'm pretty -1 on this after having this sit for a while. There's no point to this change given that neither of these values takes an Object (and if someone passes an Object, it throws anyway, making performance irrelevant). The only reason to not use I might make it explicit if this is actually being considered to land and a CI gets started. |
|
@apapirovski I meant to land it, otherwise I would not have mentioned it. Your condition makes your "soft" -1 actually a "hard" one because it is not possible to land this in that case. How shall we progress here? |
|
@BridgeAR there is no CI at the moment so I don't know if there's intent to land it or not. I just don't see the benefit to this change in this particular part of the code. We have areas where making this change would be beneficial but not here. Anyway, I won't block it... it's not worth wasting everyone's time with it. |
|
Mini-CI (enough to test this change): https://ci.nodejs.org/job/node-test-commit-light/147/ |
PR-URL: nodejs#17011 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #17011 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #17011 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
|
Do we want to land this on LTS or is it potentially a behavior change? |
PR-URL: nodejs#17011 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
add undefined type