Commit 7fc8035
fix(template): drop trailing blank from rendered postCreate.sh
Jinja's default settings keep the newline after `{% endif %}`, so the
rendered postCreate.sh ended with `bash\n\n` (a trailing blank line).
end-of-file-fixer in pre-commit flagged this, breaking lint/run and
all `test_template_*` jobs that exercise the generated project.
`{% endif -%}` strips the trailing newline; removing the blank source
line above `{% if %}` keeps the spacing tidy when add_claude is false.
Also normalises the meta repo's own .devcontainer/postCreate.sh to
match.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 944ba53 commit 7fc8035
2 files changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
0 commit comments