- Cookiecutter version:2.6.0
- Template project url: local version
- Python version: 3.12
- Operating System: windows 11
Description:
so i am working on a program for the user to set some variable and depending on the choices a coresponding folder is generated sometimes he can leave things empty or so and its all up to him
the problem that when cookiecutter checked the generated json file and found an empty list in one of the properties it exits which isnt normal because the value isnt used inside the project and when i checked i found that prompt.py line 258 is the reason because it return the first element when there is no element in the first place when the user doesnt insert manually
What I've run:
i just ran the normal cookicutter command with the -o and the -f and --no-input
Description:
so i am working on a program for the user to set some variable and depending on the choices a coresponding folder is generated sometimes he can leave things empty or so and its all up to him
the problem that when cookiecutter checked the generated json file and found an empty list in one of the properties it exits which isnt normal because the value isnt used inside the project and when i checked i found that prompt.py line 258 is the reason because it return the first element when there is no element in the first place when the user doesnt insert manually
What I've run:
i just ran the normal cookicutter command with the -o and the -f and --no-input