Skip to content
Snippets Groups Projects
Verified Commit 20ed2c50 authored by Théo Pirkl's avatar Théo Pirkl :nail_care:
Browse files

Corrects inverted boolean logic

parent c2e4b4ce
No related branches found
No related tags found
No related merge requests found
Pipeline #15430 passed
......@@ -207,12 +207,12 @@ def clone_all(token: str, id: str, directory: str, until_date: Optional[str], so
print('Cloning in "' + directory + '/' + repo_local_name + '"')
if use_http:
subprocess.run(["git", "clone", "-q", ssh_url_to_repo,
directory + '/' + repo_local_name])
else:
url = "{}:{}@{}".format("gitlab-ci-token", token, BASE_URL)
subprocess.run(["git", "clone", "-q", web_url.replace(BASE_URL, url),
directory + '/' + repo_local_name])
else:
subprocess.run(["git", "clone", "-q", ssh_url_to_repo,
directory + '/' + repo_local_name])
if until_date:
commit_id = subprocess.check_output([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment