diff --git a/utils.py b/utils.py index c02dcfb..9c8fc9d 100644 --- a/utils.py +++ b/utils.py @@ -5,5 +5,5 @@ def clone_repository(repo_url: AnyHttpUrl) -> Path: print(f'cloning into {repo_url}') repo_name = repo_url.split('/')[-1].strip('\.git') dst_dir = Path(__file__).parent / repo_name - dst_dir.mkdir() + dst_dir.mkdir(exist_ok=True) return dst_dir \ No newline at end of file