Skip to content

Commit 5c8505c

Browse files
committed
fixup! Add option to GithubCreatePRCommand for closing PRs with a specific prefix
1 parent 0a141b9 commit 5c8505c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/main/java/com/box/l10n/mojito/github/GithubClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,9 @@ public List<GHIssueComment> getPRComments(String repository, int prNumber) {
317317

318318
public List<GHPullRequest> listPR(String repository, GHIssueState state) {
319319
try {
320+
String repoFullPath = getRepositoryPath(repository);
320321
return getGithubClient(repository)
321-
.getRepository(repository)
322+
.getRepository(repoFullPath)
322323
.getPullRequests(GHIssueState.OPEN);
323324
} catch (IOException | NoSuchAlgorithmException | InvalidKeySpecException e) {
324325
throw new RuntimeException(e);

0 commit comments

Comments
 (0)