-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
child_process: allow options.cwd receive a URL
#38862
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
Conversation
aduh95
left a comment
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.
Can you add a change entry in the YAML in child_process.md please?
|
Should the code check if the URL is a path to a file or a directory? And if it is a file, strip the file from the path? |
I think it shouldn't. The old logic doesn't check too. It will break. |
Added. |
jasnell
left a comment
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.
LGTM with the suggested edits.
Co-authored-by: Antoine du Hamel <[email protected]>
|
Landed in fc4b9c1 |
Fixes: #38861