Skip to content

Commit bb58645

Browse files
committed
fix(startup): Ensure cleanup for older requirements.txt on cloning
access modules
1 parent b20597f commit bb58645

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/clone_access_modules.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ def clone_access_modules():
171171
initialize_init_file()
172172

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

175177
for formatted_git_arg in git_urls:
176178
cloned_path = clone_repo(formatted_git_arg, retry_limit)

0 commit comments

Comments
 (0)