Skip to content

Commit

Permalink
fix(startup): Ensure cleanup for older requirements.txt on cloning
Browse files Browse the repository at this point in the history
access modules
  • Loading branch information
vedharish committed Aug 20, 2024
1 parent b20597f commit bb58645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/clone_access_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def clone_access_modules():
initialize_init_file()

helpers.ensure_file_exists(requirements_file_path)
# Ensure cleanup of requirements file before starting cloning process
helpers.write_content_to_file(requirements_file_path, [])

for formatted_git_arg in git_urls:
cloned_path = clone_repo(formatted_git_arg, retry_limit)
Expand Down

0 comments on commit bb58645

Please sign in to comment.