Skip to content

Commit

Permalink
fix: bad letter case
Browse files Browse the repository at this point in the history
Co-Authored-By: Prokop Simek <prokopsimek@users.noreply.github.com>
  • Loading branch information
adelkahomolova and prokopsimek authored Dec 19, 2019
1 parent a6276d2 commit 17ef395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class FatPullRequestsPractice implements IPractice {
});

const descendingSortedPullRequests = pullRequests.items.sort(
(A, B) => new Date(B.updatedAt || B.createdAt).getTime() - new Date(A.updatedAt || A.createdAt).getTime(),
(a, b) => new Date(b.updatedAt || b.createdAt).getTime() - new Date(a.updatedAt || a.createdAt).getTime(),
);
const daysInMilliseconds = moment.duration(30, 'days').asMilliseconds();
const newestPrDate = new Date(descendingSortedPullRequests[0].updatedAt || descendingSortedPullRequests[0].createdAt).getTime();
Expand Down

0 comments on commit 17ef395

Please sign in to comment.