Skip to content

Commit 44e8de5

Browse files
committed
nit
1 parent 1951915 commit 44e8de5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ class GitCommandManager {
704704
parents: detailLines[2].split(' '),
705705
subject: detailLines[3],
706706
body: detailLines.slice(4, endOfBodyIndex).join('\n'),
707-
changes: lines.slice(endOfBodyIndex + 1 + 1, -1).map(line => {
707+
changes: lines.slice(endOfBodyIndex + 2, -1).map(line => {
708708
const change = line.match(/^:\d{6} (\d{6}) \w{7} \w{7} ([AMD])\s+(.*)$/);
709709
if (change) {
710710
return {

src/git-command-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class GitCommandManager {
171171
parents: detailLines[2].split(' '),
172172
subject: detailLines[3],
173173
body: detailLines.slice(4, endOfBodyIndex).join('\n'),
174-
changes: lines.slice(endOfBodyIndex + 1 + 1, -1).map(line => {
174+
changes: lines.slice(endOfBodyIndex + 2, -1).map(line => {
175175
const change = line.match(/^:\d{6} (\d{6}) \w{7} \w{7} ([AMD])\s+(.*)$/)
176176
if (change) {
177177
return {

0 commit comments

Comments
 (0)