-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add path expansion for write_junit_xml output argument #5827
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
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.
Calling makedirs makes some sense, but user expansion doesn’t.
Thanks for the review - I included the user expansion to catch cases of |
You can write |
Thanks for the guidance - in my testing I was passing in the argument as a string with quotes which was my error, when I pass in the argument without the string quotes it operates as expected without the expand-user. Commit made, appreciate the review! |
I think we probably don't want |
Indeed, that's what I meant, sorry. |
No problem at all, changes made. |
Thanks! |
Absolutely, thanks for the feedback and accepting! |
Hi - this is a small addition to allow the
--junit-xml
arg to accept a string path as well as a file.Example: