mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Possible fix for
This commit is contained in:
parent
1cb9605511
commit
e69ceebfc5
|
@ -130,9 +130,9 @@ def remove_docker_files():
|
|||
Removes files needed for docker if it isn't going to be used
|
||||
"""
|
||||
for filename in ["dev.yml", "docker-compose.yml", ".dockerignore"]:
|
||||
os.remove(os.path.join(
|
||||
PROJECT_DIRECTORY, filename
|
||||
))
|
||||
filename = os.path.join(PROJECT_DIRECTORY, filename)
|
||||
if os.path.exists(filename):
|
||||
os.remove(filename)
|
||||
|
||||
shutil.rmtree(os.path.join(
|
||||
PROJECT_DIRECTORY, "compose"
|
||||
|
|
Loading…
Reference in New Issue
Block a user