Rewrite comment to be more accurate

This commit is contained in:
Sergio Padrino 2024-01-26 13:34:00 +01:00
parent 92fecc1473
commit d3f7c5ec7e

View file

@ -340,8 +340,7 @@ export class DiffParser {
// We must increase `diffLineNumber` only when we're certain that the line
// is not a "no newline" marker. Otherwise, we'll end up with a wrong
// `diffLineNumber` for the next line. This could happen if the last line
// in the file doesn't have a newline before the change nor after the
// change.
// in the file doesn't have a newline before the change.
diffLineNumber++
let diffLine: DiffLine