Skip to content

Commit bf35619

Browse files
committed
fixup
1 parent 837846a commit bf35619

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

hooks/post_gen_project.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,6 @@ def get_context() -> dict:
113113
# Filter out unwanted cookiecutter context
114114
del cookiecutter_context["_output_dir"]
115115

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-
125116
return context
126117

127118

0 commit comments

Comments
 (0)