Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
lib: refactor to reuse validators#38608
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lib/zlib.js Outdated
| const{ owner_symbol }=require('internal/async_hooks').symbols; | ||
| const{ | ||
| validateFunction, | ||
| validateNumber |
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.
nit: trailing comma
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.
OK. But the lint seems to pass. Shall we add this to the lint rule?
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.
OK. But the lint seems passed. Shall we add this to the lint rule?
It would be nice if the lint rule could be added
RaisinTen commented May 9, 2021
Why is this happening? 👀 make[2]: Leaving directory '/home/runner/work/node/node/benchmark/napi/type-tag-check/build'npm ERR! normalizeEncoding is not a functionmake[1]: *** [Makefile:689: tools/doc/node_modules] Error 1 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented May 16, 2021
pd4d10 commented May 16, 2021
It seems that we should leave Updated |
aduh95 commented May 16, 2021
Most likely the error comes from |
pd4d10 commented May 16, 2021
Yeah, you are right. I misread the file name. Updated |
aduh95 commented May 16, 2021
FYI force pushing makes the review process a bit harder, if you could prefer fixup commits instead that'd be nice. FYI you can update your local branch using |
Co-authored-by: Antoine du Hamel <[email protected]>
pd4d10 commented May 16, 2021
OK, get it. Updated |
nodejs-github-bot commented May 16, 2021
nodejs-github-bot commented May 16, 2021 • edited by jasnell
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by jasnell
Uh oh!
There was an error while loading. Please reload this page.
The advantage of doing this is that `eslint --fix` can automatically add trailing commas, which avoids wasting time on manual formatting Refs: https://github.com/nodejs/node/discussions/38701 Refs: nodejs#38608 (review)
PR-URL: #38608 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: James M Snell <[email protected]>
jasnell commented May 19, 2021
Landed in 5d7b6c2 |
PR-URL: #38608 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: James M Snell <[email protected]>
richardlau commented Jul 16, 2021
This appears to depend on #37045 so adding a matching backport label. |
No description provided.