Skip to content

Commit cae2c60

Browse files
authored
Add template glob for fallback directory
1 parent 486cf9f commit cae2c60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/specify_cli/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,7 @@ def install_ai_skills(project_path: Path, selected_ai: str, tracker: StepTracker
11771177
fallback_dir = script_dir / "templates" / "commands"
11781178
if fallback_dir.exists() and any(fallback_dir.glob("*.md")):
11791179
templates_dir = fallback_dir
1180+
template_glob = "*.md"
11801181

11811182
if not templates_dir.exists() or not any(templates_dir.glob(template_glob)):
11821183
if tracker:

0 commit comments

Comments
 (0)