detect_plan_tier: re-resolve roots fresh; expose searched paths in TierInfo for diagnosis
This commit is contained in:
parent
f33bb5481b
commit
9d10c1f46f
4 changed files with 29 additions and 7 deletions
|
|
@ -131,6 +131,7 @@ pub fn detect_in(claude_dirs: &[PathBuf]) -> PlanTier {
|
|||
|
||||
/// Native-only fallback path. Most callers should prefer `detect_in` with
|
||||
/// the resolved-roots' parents so the WSL case works.
|
||||
#[allow(dead_code)]
|
||||
pub fn detect() -> PlanTier {
|
||||
let Some(home) = dirs::home_dir() else {
|
||||
return PlanTier::NotFound;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue