Skip to content

Commit a18c966

Browse files
committed
Outputs comma-delimited list of unassigned/warned issues
1 parent 73335ed commit a18c966

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ async function main() {
103103
// in it that it will be unassigned in the near future.
104104
var unassignedIssues = [];
105105
var warnedIssues = [];
106-
await issuesAry.forEach(async issue => {
106+
// issuesAry.forEach(async issue => {
107+
for (var i = 0; i < issuesAry.length; i++) {
108+
const issue = issuesAry[i];
107109
const timeInactiveInHours = await getTimeInactiveInHours(issue);
108110
if (timeInactiveInHours === null) return;
109111
console.log(`timeInactiveInHours=${timeInactiveInHours}`);
@@ -183,7 +185,8 @@ async function main() {
183185
}
184186
}
185187
}
186-
});
188+
}
189+
// });
187190

188191
console.log(unassignedIssues);
189192
core.setOutput('unassigned_issues', unassignedIssues.join(','));

0 commit comments

Comments
 (0)