Skip to content

Commit c4acc96

Browse files
author
Simon Renoult
committed
refactor: make function name clearer
1 parent 60cdcea commit c4acc96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/churn/churn.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function compute(options: Options): Promise<Map<Path, number>> {
2121

2222
const gitLogCommand = buildGitLogCommand(options);
2323
const rawStringOfAllChurns = executeGitLogCommand(gitLogCommand);
24-
const arrayOfAllChurns = computeNumberOfTimesFilesChanged(
24+
const arrayOfAllChurns = computeChurnsPerFiles(
2525
rawStringOfAllChurns,
2626
options.directory
2727
);
@@ -100,7 +100,7 @@ function buildGitLogCommand(options: Options): string {
100100
.join(" ");
101101
}
102102

103-
function computeNumberOfTimesFilesChanged(
103+
function computeChurnsPerFiles(
104104
gitLogOutput: string,
105105
directory: string
106106
): ParsedLine[] {

0 commit comments

Comments
 (0)