Skip to content

Commit

Permalink
fix: Sleep 2sec for milestone query of closed issues (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer authored Oct 25, 2024
1 parent 789b76f commit 04489bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nu/query.nu
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def query-issue-status [issueNO: int, payload: string, token: string] {
| select number milestone?.title? author.login repository.nameWithOwner mergeCommit.abbreviatedOid title
| rename -c $rename

$tries += 1
$tries += 1; sleep 2sec
$closer = if ($closers | is-empty) { {} } else { $closers | last }
$milestone = $closer.milestone? | default '-'
}
Expand Down

0 comments on commit 04489bf

Please sign in to comment.