-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
switch lib/readline.js to arrow functions #24602
switch lib/readline.js to arrow functions #24602
Conversation
5a6f317
to
2cbb262
Compare
|
2cbb262
to
f0a4db3
Compare
fix function declarations to arrow functions inside of lib/readline.js where possible
f0a4db3
to
2e93231
Compare
Hey guys, travis-ci keeps saying the first line of my commit message doesn't follow the guidelines, but I don't understand what is wrong about it, can someone check and let me know? 🙇 |
here is your commit message:
error with that is, the second line exceeds 72 characters: https://travis-ci.com/nodejs/node/jobs/160709756#L712 you could either:
|
Oooh, I never noticed that the line listing is 0-indexed. So line 1 is the second line. IMO that's a bug in core-validate-commit that we should fix. I'll fix the commit message while landing. |
Oops, no I won't because commits have been pushed since last CI, so CI needs to run again. If you want to fix it yourself, that would be awesome. In the meantime, the landing process is stalled until CI becomes available again (which should be in a few hours). |
It looks like you already have a good contribution in the Node.js condebase and this is kind of a neutral change. Honestly, I wonder if we should close it? Especially since it's in |
I'm going to close this. I can't bring myself to land it because it doesn't seem to improve the code base to me. I don't like to do that to new contributors, but you do have a commit that landed, so 🎉. And if some other Collaborator feels strongly that this should land, please feel free to disregard my opinion on this, re-open, and land. @dominikeinkemmer Thanks for the PR! 🎉 (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/.) |
Refs: nodejsjp#1
fix function declarations to arrow functions inside of lib/readline.js where possible
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes