| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks @paulashfield — just some minor feedback below.
Sorry, something went wrong.
There was a problem hiding this comment.
This would be a bit nicer as just, say:
const val1 = 41.92;
const val2 = 0.08;
Sorry, something went wrong.
There was a problem hiding this comment.
This could be then rewritten as:
const actual = addon.testNapiRun(`(${val1} + ${val2});`);
Sorry, something went wrong.
There was a problem hiding this comment.
This could then be const expected = val1 + val2;
Sorry, something went wrong.
There was a problem hiding this comment.
Here you could remove the third argument (the error message) as the default message communicates the same thing.
Sorry, something went wrong.
|
@paulashfield - #git config --global user.name #git config --global user.email on your system - implication of which is that this commit will not be associated with your profile. Can you set them up and push once again? |
Sorry, something went wrong.
|
@paulashfield See also the last note in this chapter: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#setting-up-your-local-environment |
Sorry, something went wrong.
There was a problem hiding this comment.
A nit: the last line seems lacking the last line break.
Sorry, something went wrong.
|
Many thanks all for feedback - really helped. I have amended and recommitted, hope that looks better. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Hi @paulashfield! Welcome and thanks for the PR! If you run make lint-js (or vcbuild lint-js if you're on Windows), you will see a report of a linting error on line 15. Could you fix that up? |
Sorry, something went wrong.
There was a problem hiding this comment.
Needs spacing flagged by linter fixed...
Sorry, something went wrong.
There was a problem hiding this comment.
Because the lint issue was just about adding two spaces, I went ahead and did it myself. Hope that's OK.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#16821 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
|
Landed in 3ee524b. |
Sorry, something went wrong.
PR-URL: #16821 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
|
@paulashfield just an FYI, this commit isn't associated with your Github account. You need to go to https://github.com/settings/emails and add paul.ashfield@intercity.technology. Then all your commits will be associated with you. That's why there's a ? next to your name on the commit: 3ee524b |
Sorry, something went wrong.
PR-URL: #16821 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
PR-URL: nodejs#16821 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)