Fix: remove typo

Co-authored-by: tituspijean <tituspijean@outlook.com>
This commit is contained in:
Salamandar 2022-10-25 14:12:44 +02:00 committed by Félix Piédallu
parent ec78789dfe
commit 7631a38ec4

View file

@ -115,7 +115,7 @@ def main():
return return
# Proceed only if a PR for this new version does not already exist # Proceed only if a PR for this new version does not already exist
branch = f"ci-auto-update-v${latest_version}" branch = f"ci-auto-update-v{latest_version}"
command = ["git", "ls-remote", "--exit-code", "-h", repo, branch] command = ["git", "ls-remote", "--exit-code", "-h", repo, branch]
if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0: if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0:
logging.warning("A branch already exists for this update") logging.warning("A branch already exists for this update")