-
Notifications
You must be signed in to change notification settings - Fork 55
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
Make sure that an existing path is a directory for create_directories #95
Make sure that an existing path is a directory for create_directories #95
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.
lgtm
I'll look into that Windows failure. |
Signed-off-by: Christophe Bedard <[email protected]>
1821c75
to
5675cdb
Compare
Not exactly sure why, but it looks like that did the trick. We don't really need to check if the path is a directory at every step/recursively, since the next step will just fail if it's not a directory anyway. I'll let you decide if you want to re-run CI on all platforms. |
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.
…eate_directories (ros2#95)" (ros2#96)" This reverts commit ba5d1e4. Signed-off-by: Tomoya.Fujita <[email protected]>
If the final/complete path already exists, make sure that it is a directory.
I've also added a line in the relevant test.
Fixes #94