This commit is contained in:
Eugene Rakhmatulin
2026-03-31 16:57:56 -07:00
parent a889fed254
commit ead749239d

View File

@@ -149,8 +149,8 @@ def load_recipe(recipe_path: Path) -> dict[str, Any]:
# Try candidates in order: add extension to original path first, # Try candidates in order: add extension to original path first,
# then fall back to flat recipes/ directory (for bare recipe names) # then fall back to flat recipes/ directory (for bare recipe names)
candidates = [ candidates = [
recipe_path.with_suffix(".yaml"), Path(str(recipe_path) + ".yaml"),
recipe_path.with_suffix(".yml"), Path(str(recipe_path) + ".yml"),
RECIPES_DIR / recipe_path.name, RECIPES_DIR / recipe_path.name,
RECIPES_DIR / f"{recipe_path.name}.yaml", RECIPES_DIR / f"{recipe_path.name}.yaml",
RECIPES_DIR / f"{recipe_path.name}.yml", RECIPES_DIR / f"{recipe_path.name}.yml",