diff --git a/src/index.ts b/src/index.ts index c5e7cb2..52f3d85 100644 --- a/src/index.ts +++ b/src/index.ts @@ -177,9 +177,8 @@ const parseCommits = ( } // Split each line into it's own delimited array - const nameAndStatusDelimited = parseNameStatus.map((d) => - d.split(delimiter) - ); + // Using tab character here because the name status output is always tab separated + const nameAndStatusDelimited = parseNameStatus.map((d) => d.split("\t")); // 0 will always be status, last will be the filename as it is in the commit, // anything in between could be the old name if renamed or copied