diff options
Diffstat (limited to 'packages/server/src/git/diff.ts')
-rw-r--r-- | packages/server/src/git/diff.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/git/diff.ts b/packages/server/src/git/diff.ts index 6cd38a3..2e88609 100644 --- a/packages/server/src/git/diff.ts +++ b/packages/server/src/git/diff.ts @@ -43,6 +43,6 @@ export class Diff { } public async patches(): Promise<Patch[]> { - return (await this._ng_diff.patches()).map(patch => new Patch(this, patch)); + return (await this._ng_diff.patches()).map((patch, index) => new Patch(this, patch, index)); } }
\ No newline at end of file |