1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cinny_ynh.git synced 2024-09-03 18:16:13 +02:00

Fix typo in updater.py

This commit is contained in:
Salamandar 2023-01-16 11:10:56 +01:00 committed by GitHub
parent fd1aaedba0
commit 795e508805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ def main():
return
# 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]
if run(command, stderr=PIPE, stdout=PIPE, check=False).returncode == 0:
logging.warning("A branch already exists for this update")