Skip to content

Commit 0cf57c5

Browse files
committed
fix: adjust conditionals in post_gen_project.py to include quotes where missing
1 parent bb2ca48 commit 0cf57c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hooks/post_gen_project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99

1010
REMOVE_PATHS: list[str] = [
11-
"{% if cookiecutter.repository_provider != github %}.github{% endif %}",
12-
"{% if cookiecutter.repository_provider != gitlab %}.gitlab-ci.yml{% endif %}",
13-
"{% if cookiecutter.repository_provider != bitbucket %}.bitbucket-pipelines.yml{% endif %}",
11+
"{% if cookiecutter.repository_provider != 'github' %}.github{% endif %}",
12+
"{% if cookiecutter.repository_provider != 'gitlab' %}.gitlab-ci.yml{% endif %}",
13+
"{% if cookiecutter.repository_provider != 'bitbucket' %}.bitbucket-pipelines.yml{% endif %}",
1414
]
1515

1616

0 commit comments

Comments
 (0)