File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,12 +80,7 @@ def remove_utility_files():
8080
8181
8282def remove_heroku_files ():
83- file_names = ["Procfile" ]
84- for file_name in file_names :
85- if file_name == "requirements.txt" and "{{ cookiecutter.ci_tool }}" .lower () == "travis" :
86- # Don't remove the file if we are using Travis CI but not using Heroku
87- continue
88- Path (file_name ).unlink ()
83+ Path ("Procfile" ).unlink ()
8984 shutil .rmtree ("bin" )
9085
9186
@@ -203,7 +198,7 @@ def remove_prettier_pre_commit():
203198
204199def remove_repo_from_pre_commit_config (repo_to_remove : str ):
205200 pre_commit_config = Path (".pre-commit-config.yaml" )
206- content = pre_commit_config .read_text ().splitlines (keepends = True )
201+ content = pre_commit_config .read_text ().splitlines ()
207202
208203 removing = False
209204 new_lines = []
You can’t perform that action at this time.
0 commit comments