From eecb9139fb1e70645ceadccc6d86af0fc8b32800 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Mon, 29 Jan 2024 16:17:39 +0100 Subject: [PATCH] feat: Indent in logs using tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémy Raes --- .github/verify_versions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/verify_versions.py b/.github/verify_versions.py index 4da2ea1..ff8a52f 100644 --- a/.github/verify_versions.py +++ b/.github/verify_versions.py @@ -23,14 +23,14 @@ def verify_all_mod_versions(): # There should be only one matching version if len(matching_distant_versions) != 1: - sys.exit(' ❌ v{} (unknown distant version)'.format(version['Version'])) + sys.exit('\t❌ v{} (unknown distant version)'.format(version['Version'])) # Compare manifesto commit hash with repository hash distant_version = matching_distant_versions[0] if local_hash == distant_version['commit']['sha']: - print(' ✔️ v{}'.format(version['Version'])) + print('\t✔️ v{}'.format(version['Version'])) else: - sys.exit(' ❌ v{} (hash comparison failed)'.format(version['Version'])) + sys.exit('\t❌ v{} (hash comparison failed)'.format(version['Version'])) if __name__ == "__main__": verify_all_mod_versions()