Skip to content

Commit

Permalink
Closes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanodallapalma committed May 12, 2021
1 parent 9b709f7 commit d9ac6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repominer/mining/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ def label(self) -> Generator[FailureProneFile, None, None]:
for file in self.fixed_files:
labeling.setdefault(file.filepath, list()).append(file)

self.sort_commits(self.fixing_commits)

for commit in RepositoryMining(self.path_to_repo,
from_commit=self.fixing_commits[-1],
to_commit=self.commit_hashes[0],
Expand Down

0 comments on commit d9ac6e5

Please sign in to comment.