fix: None crash in providers, _merge_deepest loop, lock-file false positives, stage() race, cache TTL, config merge, changelog indent, template check

This commit is contained in:
sankalp committed 2026-06-06 21:33:51 +05:45
1 parent fb87bfa146
commit 70e9068082
14 files changed
+31 -17

No files matched your search

+5
View File
@@ -209,6 +209,11 @@ def delete_file(filepath: Path | str) -> bool:
def load_template_env(sub_dir: str) -> Environment:
template_dir = Path(__file__).parent / "templates" / sub_dir
if not template_dir.is_dir():
raise RuntimeError(
f"Template directory not found: {template_dir}. "
"The installation may be corrupted."
)
return Environment(loader=FileSystemLoader(template_dir))