Skip to content

Commit

Permalink
Another fix for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui committed Sep 10, 2024
1 parent ca58ce3 commit 521ce94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-commit/soroban_versioning_pre_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@


def main():
project_key = bytes.fromhex(PROJECT_KEY)

branch = (
subprocess.run(["git", "branch", "--show-current"], capture_output=True)
.stdout.decode()
Expand All @@ -36,6 +34,8 @@ def main():
if PROJECT_KEY is None:
raise ValueError("'TANSU_PROJECT_KEY' is missing from the environment")

project_key = bytes.fromhex(PROJECT_KEY)

commit_hash = (
subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True)
.stdout.decode()
Expand Down

0 comments on commit 521ce94

Please sign in to comment.