test:favor arrow function in callback#24542
test:favor arrow function in callback#24542kotAPI wants to merge 2 commits intonodejs:masterfrom kotAPI:master
Conversation
| const zlib = require('zlib'); | ||
|
|
||
| zlib.gzip('hello', common.mustCall(function(err, out) { | ||
| zlib.gzip('hello', common.mustCall((err, out)=> { |
There was a problem hiding this comment.
Nit: space is required before arrow to pass the lint test
https://travis-ci.com/nodejs/node/jobs/159977196
There was a problem hiding this comment.
I didn't know that, I've pushed again with the required changes, thanks!
cjihrig
left a comment
There was a problem hiding this comment.
LGTM once it passes linting.
|
@Trott @cjihrig @sreepurnajasti any tips on how to make the remaining tests pass? |
|
It should just be a matter of running it again. Resume CI: https://ci.nodejs.org/job/node-test-pull-request/18856/ |
|
Ahh, thanks @cjihrig :D |
|
fast-track? please 👍 |
PR-URL: nodejs#24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
|
Landed in 21522cb. Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: nodejs#24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: #24542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes