Skip to content

Commit

Permalink
fix: Fix milestone query for closed issue (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer authored Oct 25, 2024
1 parent 301bf8a commit 1a98b59
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
| last
$milestone = $closer.milestone?
$milestone = $closer.milestone? | default '-'
}

{ closed: $result.closed, closedAt: $result.closedAt, closedBy: $closer, events: $events }
Expand Down

0 comments on commit 1a98b59

Please sign in to comment.