-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
cli: ensure --run has proper pwd #53600
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
anonrig
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.
Small comments. The current test failure is due to test/message/node_run_non_existent.out.
After these small changes, I think we can ship it! Thank you for your contribution (and welcome!)
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
|
Compilation error on Windows: |
|
I'll check these compilation errors. |
|
@StefanStojanovic I believe these likely came from removing some .c_str() calls |
|
The issue here is the character type of |
|
@StefanStojanovic I'm ok with an ifdef but we would want to add it to quite a few places according to above |
If you are referring to the #53600 (comment), other logs are just warnings so at least the compilation would succeed. A potential problem is that those logs would be unusable. The good thing is that all of the warnings are from the same function One question I have though - what would be the easiest way to reproduce showing some of these logs? |
|
You can run path.string() and convert the filesystem path to a std::string. It will create an unnecessary string and copy operation but it will work for both operating systems without any ifdef. |
|
@StefanStojanovic is currently on vacation so I will be handling this in the meantime. Thanks @anonrig, I've used the function that you've provided. @bmeck I'm able to compile with the patch below locally. If this fix makes sense to you, feel free to apply it. |
|
Needs to be rebased with new CI runs. Removed the author ready and commit queue labels. |
PR-URL: nodejs#54949 Refs: nodejs#53600 Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
PR-URL: nodejs#54949 Refs: nodejs#53600 Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
No description provided.