Commit 05042fc
fix: replace_lines ensures body ends with newline
Without a trailing newline, the last line of the replacement body
would merge with the following line in the file. All other splice
callers (insert-at, insert-before, insert-after) already handled
this; replace-lines was the only one missing it.1 parent 342156e commit 05042fc
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3294 | 3294 | | |
3295 | 3295 | | |
3296 | 3296 | | |
3297 | | - | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
3298 | 3307 | | |
3299 | 3308 | | |
3300 | 3309 | | |
| |||
0 commit comments