Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uptest:favor arrow function in callback #24542
Conversation
nodejs-github-bot
added
the
test
label
Nov 21, 2018
gireeshpunathil
added
the
code-and-learn
label
Nov 21, 2018
sreepurnajasti
reviewed
Nov 21, 2018
| @@ -23,7 +23,7 @@ | |||
| const common = require('../common'); | |||
| const zlib = require('zlib'); | |||
|
|
|||
| zlib.gzip('hello', common.mustCall(function(err, out) { | |||
| zlib.gzip('hello', common.mustCall((err, out)=> { | |||
This comment has been minimized.
This comment has been minimized.
sreepurnajasti
Nov 21, 2018
Contributor
Nit: space is required before arrow to pass the lint test
https://travis-ci.com/nodejs/node/jobs/159977196
This comment has been minimized.
This comment has been minimized.
kotAPI
Nov 21, 2018
Author
Contributor
I didn't know that, I've pushed again with the required changes, thanks!
cjihrig
approved these changes
Nov 21, 2018
|
LGTM once it passes linting. |
gireeshpunathil
approved these changes
Nov 21, 2018
kotAPI
force-pushed the
kotAPI:master
branch
from
7f9bc37
to
389c79a
Nov 21, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@Trott @cjihrig @sreepurnajasti any tips on how to make the remaining tests pass? |
This comment has been minimized.
This comment has been minimized.
|
It should just be a matter of running it again. Resume CI: https://ci.nodejs.org/job/node-test-pull-request/18856/ |
Trott
added
the
author ready
label
Nov 22, 2018
This comment has been minimized.
This comment has been minimized.
|
Ahh, thanks @cjihrig :D |
This comment has been minimized.
This comment has been minimized.
|
fast-track? please |
Trott
added
the
fast-track
label
Nov 22, 2018
Trott
added a commit
to Trott/io.js
that referenced
this pull request
Nov 22, 2018
This comment has been minimized.
This comment has been minimized.
|
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/.) |
kotAPI commentedNov 21, 2018
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes