Commit c9e8f34
authored
fix(cli): escape # in underscore-references advisory message (#2815)
Module.cfc's t.references() underscore advisory ended its fix
message with "See #2781." — an unescaped # opens a CFML
interpolation that never closes, so Lucee threw
ComponentTemplateException "Invalid Syntax Closing [#] not found"
at [3949:260] and refused to compile Module.cfc. That broke
`wheels new` and every CLI command that boots the module on
develop and the bleeding-edge channel. The source-level CLI
specs fileRead Module.cfc rather than compile it, so they
stayed green; only the installed-distribution smoke test in
snapshot.yml caught it.
Escape to "See ##2781." — the literal-# form already used at
Module.cfc:2176.
Verified: tools/test-onboarding.sh (wheels new exits 0, 42/0)
and tools/test-cli-local.sh (605 pass / 5 pre-existing
Admin/Doctor/Scaffold fails, no new failures).
Introduced by #2807.
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent 39b678e commit c9e8f34
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3946 | 3946 | | |
3947 | 3947 | | |
3948 | 3948 | | |
3949 | | - | |
| 3949 | + | |
3950 | 3950 | | |
3951 | 3951 | | |
3952 | 3952 | | |
| |||
0 commit comments