Skip to content

Commit

Permalink
Do not delete path
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminPelletier committed Sep 17, 2023
1 parent 45025e6 commit cefe51d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions monitoring/uss_qualifier/reports/tested_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,8 @@ def generate_tested_requirements(report: TestRunReport, output_path: str) -> Non
import_submodules(suites)
import_submodules(action_generators)

if os.path.exists(output_path):
shutil.rmtree(output_path)
os.makedirs(output_path, exist_ok=True)
index_file = os.path.join(output_path, "index.html")
os.makedirs(os.path.dirname(index_file), exist_ok=True)

participant_ids = report.report.participant_ids()
template = jinja_env.get_template("tested_requirements/test_run_report.html")
Expand Down

0 comments on commit cefe51d

Please sign in to comment.