From 4539f63106856816911cf174857c6fe4e7c1b5f9 Mon Sep 17 00:00:00 2001 From: "sp4rk.y" Date: Thu, 25 Jun 2026 14:00:48 -0600 Subject: [PATCH] fix(env): only resolve Path items in directory lists Raw string repo specs in directories.services crashed env info with AttributeError; strings are now passed through unchanged. --- unshackle/commands/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unshackle/commands/env.py b/unshackle/commands/env.py index 5cc9c8e7..b9bd555d 100644 --- a/unshackle/commands/env.py +++ b/unshackle/commands/env.py @@ -186,7 +186,7 @@ def info() -> None: # Handle both single Path objects and lists of Path objects if isinstance(attr_value, list): # For lists, show each path on a separate line - paths_str = "\n".join(str(path.resolve()) for path in attr_value) + paths_str = "\n".join(str(p.resolve()) if isinstance(p, Path) else str(p) for p in attr_value) table.add_row(name.title(), paths_str) else: # For single Path objects, use the original logic