Commit f6a7cd8
committed
fix: guard corrupted registry entries and make manifest authoritative
- Add isinstance(meta, dict) guard in bash registry parsing so corrupted
entries are skipped instead of breaking priority ordering
- Only use convention-based file lookup when the manifest does not list
the requested template, making preset.yml authoritative and preventing
stray on-disk files from creating unintended layers1 parent d43011c commit f6a7cd8
2 files changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
| 411 | + | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2701 | 2701 | | |
2702 | 2702 | | |
2703 | 2703 | | |
| 2704 | + | |
2704 | 2705 | | |
2705 | 2706 | | |
2706 | 2707 | | |
| |||
2709 | 2710 | | |
2710 | 2711 | | |
2711 | 2712 | | |
| 2713 | + | |
2712 | 2714 | | |
2713 | | - | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
2714 | 2718 | | |
2715 | 2719 | | |
2716 | 2720 | | |
2717 | 2721 | | |
2718 | 2722 | | |
2719 | 2723 | | |
2720 | 2724 | | |
2721 | | - | |
| 2725 | + | |
| 2726 | + | |
2722 | 2727 | | |
2723 | 2728 | | |
2724 | 2729 | | |
| |||
0 commit comments