We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 837846a commit bf35619Copy full SHA for bf35619
1 file changed
hooks/post_gen_project.py
@@ -113,15 +113,6 @@ def get_context() -> dict:
113
# Filter out unwanted cookiecutter context
114
del cookiecutter_context["_output_dir"]
115
116
- # Replace relative paths with fully qualified paths in cookiecutter context
117
- if "_template" in cookiecutter_context:
118
- cookiecutter_context["_template"] = template_location
119
-
120
- if "_repo_dir" in cookiecutter_context:
121
- # For local templates, _repo_dir should be the same as the resolved template path
122
- # For remote templates, it would be the cloned directory, but we'll use the template location
123
- cookiecutter_context["_repo_dir"] = template_location
124
125
return context
126
127
0 commit comments