()
| 44 | let after = ''; |
| 45 | let lastAdded = false; |
| 46 | const flush = () => { |
| 47 | if (before !== '' || after !== '') { |
| 48 | fragments.push({ |
| 49 | before, |
| 50 | after, |
| 51 | }); |
| 52 | before = ''; |
| 53 | after = ''; |
| 54 | } |
| 55 | }; |
| 56 | |
| 57 | for (const line of diff.lines) { |
| 58 | if (line.aIndex === -1) { |