From 9dc5615b9d86517f8d5ca2face5d94d5357dbc49 Mon Sep 17 00:00:00 2001 From: Dean Kerr Date: Thu, 26 Feb 2026 19:20:30 +1100 Subject: [PATCH] fix: use HERMES_HOME constant in doctor.py directory check Line 184 hardcoded Path.home() / ".hermes" instead of using the existing HERMES_HOME variable which already respects the env var. Co-Authored-By: Claude Opus 4.6 --- hermes_cli/doctor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/doctor.py b/hermes_cli/doctor.py index c799a74c68..e68b98bf7e 100644 --- a/hermes_cli/doctor.py +++ b/hermes_cli/doctor.py @@ -181,7 +181,7 @@ def run_doctor(args): print() print(color("◆ Directory Structure", Colors.CYAN, Colors.BOLD)) - hermes_home = Path.home() / ".hermes" + hermes_home = HERMES_HOME if hermes_home.exists(): check_ok("~/.hermes directory exists") else: