mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 05:04:25 +03:00
Format comment better
This commit is contained in:
parent
fff7144c93
commit
fff4183f72
|
@ -80,7 +80,7 @@ def remove_heroku_files():
|
||||||
file_names = ["Procfile", "runtime.txt", "requirements.txt"]
|
file_names = ["Procfile", "runtime.txt", "requirements.txt"]
|
||||||
for file_name in file_names:
|
for file_name in file_names:
|
||||||
if file_name == "requirements.txt" and "{{ cookiecutter.ci_tool }}".lower() == "travis":
|
if file_name == "requirements.txt" and "{{ cookiecutter.ci_tool }}".lower() == "travis":
|
||||||
# don't remove the file if we are using travisci but not using heroku
|
# Don't remove the file if we are using Travis CI but not using Heroku
|
||||||
continue
|
continue
|
||||||
Path(file_name).unlink()
|
Path(file_name).unlink()
|
||||||
shutil.rmtree("bin")
|
shutil.rmtree("bin")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user