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
It renders list variable only as first item of it #1975
Comments
I literally run into the same problem just now and I am so glad there is an open issue. After digging, I found that cookiecutter/cookiecutter/main.py Lines 183 to 186 in 2402048
I am still trying to understand the source code, there is It's most likely this function is buggy. cookiecutter/cookiecutter/prompt.py Lines 233 to 240 in 1669f0d
Which has this logic of treating cookiecutter/cookiecutter/prompt.py Lines 268 to 272 in 1669f0d
|
As a workaround, use |
Thanks! |
Description:
When i have something like this:
I try to put this in cookiecutter template generation:
Then in post_gen_project.py i try to tweak a bit:
Its crazy, i have never seen such a thing, like there is no place in between that i reference these variables, and when variable is type of list it only takes first time with cookiecutter, checked everystep.. No idea what can i do more
The text was updated successfully, but these errors were encountered: