We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdae0ba commit 20ba28aCopy full SHA for 20ba28a
allure-python-commons/src/logger.py
@@ -15,7 +15,7 @@ class AllureFileLogger:
15
def __init__(self, report_dir, clean=False):
16
self._report_dir = Path(report_dir).absolute()
17
if self._report_dir.is_dir() and clean:
18
- shutil.rmtree(self._report_dir)
+ shutil.rmtree(self._report_dir, ignore_errors=True)
19
self._report_dir.mkdir(parents=True, exist_ok=True)
20
21
def _report_item(self, item):
0 commit comments