Skip to content
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

_mkdir fails when asked to create more than one directory #226

Open
TeamPlatform1 opened this issue Feb 16, 2024 · 2 comments
Open

_mkdir fails when asked to create more than one directory #226

TeamPlatform1 opened this issue Feb 16, 2024 · 2 comments
Labels

Comments

@TeamPlatform1
Copy link

On windows, _mkdir is used to create directories. But _mkdir can only create one subdir at a time.
If a TemplatedCustomNamer needs to create several new paths (existing: "d:\whatever", needed: "d:\whatever\tests\mytest\approval"), it will fail with an exception.

@claremacrae
Copy link
Collaborator

Hi, thanks for the report. I've edited the summary to make it clearer.

@claremacrae claremacrae changed the title _mkdir failes _mkdir fails when asked to create more than one directory Feb 16, 2024
@claremacrae
Copy link
Collaborator

On windows, _mkdir is used to create directories. But _mkdir can only create one subdir at a time. If a TemplatedCustomNamer needs to create several new paths (existing: "d:\whatever", needed: "d:\whatever\tests\mytest\approval"), it will fail with an exception.

Please supply some sample code for us to use. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants