Skip to content

Commit cd54a96

Browse files
committed
fix for 3.0
1 parent be327c6 commit cd54a96

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ async function run() {
106106
.map((p) => p.status === "rejected" && p.reason)
107107
.filter(Boolean);
108108

109-
throw new AggregateError(rejected);
109+
if (rejected.length) {
110+
throw new AggregateError(rejected)
111+
}
110112
}
111113

112114
function getIssueOrPRNumber() {

0 commit comments

Comments
 (0)