Skip to content

The agent that grows with you

fix(doctor): hoist pathlib import above _pm_tool_path (NameError at import)

ethernet2a73d87fe484
diff --git a/hermes_cli/doctor.py b/hermes_cli/doctor.py
index d41cbc87c4f..b15690a0d71 100644
--- a/hermes_cli/doctor.py
+++ b/hermes_cli/doctor.py
@@ -6,6 +6,7 @@ Check bodies live in the ``doctor_*`` siblings.
import os
import sys
+from pathlib import Path
from hermes_cli.config import get_env_path, get_hermes_home, get_project_root
from hermes_cli.env_loader import load_hermes_dotenv