mirror of
https://github.com/desktop/desktop
synced 2024-10-30 06:03:10 +00:00
Rewrite comment to be more accurate
This commit is contained in:
parent
92fecc1473
commit
d3f7c5ec7e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue