From 04489bf12c38ab6840596a5d7158894dfcdff2e0 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Fri, 25 Oct 2024 15:20:40 +0800 Subject: [PATCH] fix: Sleep 2sec for milestone query of closed issues (#80) --- nu/query.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nu/query.nu b/nu/query.nu index 42f53d8..da45360 100644 --- a/nu/query.nu +++ b/nu/query.nu @@ -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 '-' }