Skip to content

[1518] Directory Name Render and Create Fix#1991

Merged
jensens merged 10 commits intocookiecutter:mainfrom
DanielZhangD:1518-directory-names-render-and-create-fix
Mar 20, 2024
Merged

[1518] Directory Name Render and Create Fix#1991
jensens merged 10 commits intocookiecutter:mainfrom
DanielZhangD:1518-directory-names-render-and-create-fix

Conversation

@DanielZhangD
Copy link
Copy Markdown
Contributor

This pull request addresses the issue described in #1518. Written by @rafyak and @DanielZhangD

The solution was to add a check to render_and_create_dir to make sure the dirname was not empty.

Testing was completed via adding a new unit tests for render_and_create_dir and making sure coverage stayed at 100%

jensens
jensens previously approved these changes Mar 18, 2024
@jensens jensens added the bug This issue/PR relates to a bug. label Mar 18, 2024
@jensens jensens merged commit 9f94bce into cookiecutter:main Mar 20, 2024
@flying-sheep
Copy link
Copy Markdown

Wait. I want the exact opposite, i.e. the ability to skip directories when rendering.

It works for files by using an empty filename, so it should work for directories as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue/PR relates to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants