Skip to content

Commit

Permalink
fix: error with churn
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Sep 18, 2024
1 parent 9ad7bbb commit 0d0b8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitcodechurn/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from gitcodechurn.exporters import ExporterFactory
from gitcodechurn.git import Git
from gitcodechurn.churn import calculate_statistics
from gitcodechurn.churn import Churn


def main():
Expand Down Expand Up @@ -71,7 +71,7 @@ def main():

commits = Git.get_commits(before, after, author, project_dir)

files, contribution, churn = calculate_statistics(commits, project_dir, exdir)
files, contribution, churn = Churn.calculate_statistics(commits, project_dir, exdir)

# if author is empty then print a unique list of authors
if len(author.strip()) == 0:
Expand Down

0 comments on commit 0d0b8f4

Please sign in to comment.