Repository navigation
Commit 4732977
fix(template): require --file or --template flag (#112)
Add validation in engine.Render to return a clear error when no template
files are specified, instead of silently producing minimal output.
Remove dead code branch in template.go (unreachable condition check).
Signed-off-by: Andrei Kvapil <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent e4f5cf8 commit 4732977
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
244 | 248 | | |
245 | 249 | | |
246 | 250 | | |
| |||
0 commit comments