Use the utility here

This commit is contained in:
decentral1se 2021-04-03 20:54:11 +02:00
parent f4860ec662
commit 37600727a4
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -87,7 +87,7 @@ def clone_all_apps():
continue
if not exists(f"{CLONES_PATH}/{name}"):
run(split(f"git clone {url} {CLONES_PATH}/{name}"))
_run_cmd(f"git clone {url} {CLONES_PATH}/{name}")
chdir(f"{CLONES_PATH}/{name}")
if not int(_run_cmd("git branch --list | wc -l", shell=True)):