Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tools/environments/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ def _find_bash() -> str:
return candidate

found = shutil.which("bash")
if found:
return found

for candidate in (
os.path.join(os.environ.get("ProgramFiles", r"C:\Program Files"), "Git", "bin", "bash.exe"),
Expand All @@ -262,6 +260,9 @@ def _find_bash() -> str:
if candidate and os.path.isfile(candidate):
return candidate

if found:
return found

raise RuntimeError(
"Git Bash not found. Hermes Agent requires Git for Windows on Windows.\n"
"Install it from: https://git-scm.com/download/win\n"
Expand Down
Loading