Commit 853a245
committed
fix: double-escape newlines in Node version guard banner string
The \n in a TypeScript template literal becomes a literal newline in the
JS output. Inside a double-quoted JS string that is a SyntaxError. Use
\\n (four backslashes in TS source → \n in JS output) so the runtime
sees proper escape sequences and prints formatted output.1 parent 5bc6139 commit 853a245
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments