-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
util: extract uncurryThis
function for reuse
#23081
Conversation
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.
LGTM. Though I'm +1 for @Fishrock123 suggestion of moving this to util.js
.
Now I'm torn between keeping it in Hey guys, which one should I choose ? 😬 |
I'm not sure I'm very pro deduplicating code, so to me |
We already use functions from |
Sounds like a good compromise. Maybe add a |
03a1c48
to
f66230b
Compare
@ZYSzys don't worry, that's a known bug, it'll be fixed soon. |
@Fishrock123 @lundibundi PTAL |
ping @Fishrock123 Sorry for bothering you. It has almost been three months, and I've moved the |
uncurryThis
functionuncurryThis
function for reuse
PR-URL: nodejs#23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: nodejs#23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
PR-URL: #23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Extracts
uncurryThis
function which is done in identical ways in a few places inlib/internal/util
dir.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes