Skip to content

Commit

Permalink
fix for 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanmiehe committed Feb 10, 2023
1 parent be327c6 commit cd54a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/index.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ async function run() {
.map((p) => p.status === "rejected" && p.reason)
.filter(Boolean);

throw new AggregateError(rejected);
if (rejected.length) {
throw new AggregateError(rejected)
}
}

function getIssueOrPRNumber() {
Expand Down

0 comments on commit cd54a96

Please sign in to comment.