Skip to content

Commit

Permalink
Safer to remove from explicit project root, rather than current worki…
Browse files Browse the repository at this point in the history
…ng directory
  • Loading branch information
ReubenFrankel committed May 31, 2024
1 parent 7a61121 commit 11ca242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2423,7 +2423,7 @@ def reset_project_context(
project: Project,
project_init_service: ProjectInitService,
):
shutil.rmtree(".", ignore_errors=True)
shutil.rmtree(project.root, ignore_errors=True)
project_init_service.create_files(project)

project.refresh()
Expand Down

0 comments on commit 11ca242

Please sign in to comment.