Skip to content

Commit

Permalink
fix: remove unnecessary name of branch
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Nov 20, 2019
1 parent 7ff57d6 commit 9473353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/practices/LanguageIndependent/DoesPullRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class DoesPullRequests implements IPractice {
const ownerAndRepoName = GitServiceUtils.getOwnerAndRepoName(repoName);

const pullRequests = await ctx.collaborationInspector.getPullRequests(ownerAndRepoName.owner, ownerAndRepoName.repoName);
const repoCommits = await ctx.collaborationInspector.getRepoCommits(ownerAndRepoName.owner, ownerAndRepoName.repoName, 'master');
const repoCommits = await ctx.collaborationInspector.getRepoCommits(ownerAndRepoName.owner, ownerAndRepoName.repoName);

const prDate = new Date(repoCommits.items[0].author.date).getTime();
const commitDate = new Date(pullRequests.items[0].createdAt).getTime();
Expand Down

0 comments on commit 9473353

Please sign in to comment.