Skip to content

Commit

Permalink
Add ignore_errors flag to rmtree.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjproud committed Jul 19, 2023
1 parent 39fdf6b commit 7d1222b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/main.py
Expand Up @@ -74,6 +74,6 @@
stderr=STDOUT,
encoding="utf-8",
)
shutil.rmtree(ENV_PATH)
shutil.rmtree(ENV_PATH, ignore_errors=True)
print(proc.stdout)
sys.exit(proc.returncode)

0 comments on commit 7d1222b

Please sign in to comment.