Skip to content

Commit 1fdb2f5

Browse files
committed
fix typo
1 parent df508b7 commit 1fdb2f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parse-git-diff.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function parseFileChange(ctx: Context): AnyFileChange | undefined {
4646
if (!isComparisonInputLine(ctx.getCurLine())) {
4747
return;
4848
}
49-
const comparisonLineParsed = pasreComparisonInputLine(ctx);
49+
const comparisonLineParsed = parseComparisonInputLine(ctx);
5050

5151
let isDeleted = false;
5252
let isNew = false;
@@ -137,7 +137,7 @@ function isComparisonInputLine(line: string): boolean {
137137
return line.indexOf('diff') === 0;
138138
}
139139

140-
function pasreComparisonInputLine(
140+
function parseComparisonInputLine(
141141
ctx: Context
142142
): { from: string; to: string } | null {
143143
const line = ctx.getCurLine();

0 commit comments

Comments
 (0)