Skip to content

Commit

Permalink
Merge pull request #25473 from adamjstewart:build/no-git
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707169772
  • Loading branch information
Google-ML-Automation committed Dec 17, 2024
2 parents 7de9eb2 + 1afed91 commit 7bbba40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def get_githash():
capture_output=True,
check=True,
).stdout.strip()
except OSError:
except (subprocess.CalledProcessError, OSError):
return ""

def _parse_string_as_bool(s):
Expand Down

0 comments on commit 7bbba40

Please sign in to comment.