Skip to content

Commit

Permalink
get_githash: fix support for missing git
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Dec 13, 2024
1 parent 5a3fa50 commit 1afed91
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 1afed91

Please sign in to comment.