Skip to content

Commit

Permalink
fix: wait infinitely
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticLampyrid committed Sep 6, 2022
1 parent 36b9983 commit a92f9fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function run(): Promise<void> {
}
let first = true;
while (true) {
let completed = false;
let completed = true;
for await (const runs of client.paginate.iterator(client.rest.actions.listWorkflowRuns, params)) {
for (const run of runs.data) {
if (first) {
Expand Down

0 comments on commit a92f9fe

Please sign in to comment.