| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| options = {}; | ||
| else if (options === null || typeof options !== 'object') | ||
| throw new TypeError('"options" argument must be an object'); | ||
| throw new errors.TypeError('ERR_OPTS_NOT_OBJECT'); |
There was a problem hiding this comment.
The existing ERR_INVALID_ARG_TYPE would be better here.
Sorry, something went wrong.
There was a problem hiding this comment.
(and else where throughout here)
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you so much for doing this. I may be mistaken but I seem to recall another open PR that was looking at this file also. I'd recommend doing a quick search to make sure you're not accidentally duplicating effort. Either way, the work is deeply appreciated.
I left a couple of comments that should be addressed before this could proceed forward.
Sorry, something went wrong.
|
They both change errors in lib/child_process.js |
Sorry, something went wrong.
|
so can i close this issue? |
Sorry, something went wrong.
|
Closing as this is a duplicate of another PR that is about to land. |
Sorry, something went wrong.
|
@ramimoshe thanks a lot for your work nevertheless! I am sorry that your PR could not land. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
covert lib/child_process.js over to using lib/internal/errors.js
ref: #11273