mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 17:31:38 -05:00
throw Exception when trying to clone into directory that exists
This commit is contained in:
parent
56a7d198de
commit
ce80f10bb7
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ def _clone(repo: str, into: str, branch: str, fetcher: str) -> bool:
|
|||
if branch:
|
||||
_note(f"CI workflow detected; using branch '{branch}'", CLR_INFO)
|
||||
|
||||
os.makedirs(into, exist_ok=True)
|
||||
os.makedirs(into)
|
||||
scm = 'hg' if fetcher == 'hg' else 'git'
|
||||
if scm == 'git':
|
||||
options = ['--single-branch']
|
||||
|
|
Loading…
Add table
Reference in a new issue