* Get the current state of an issue (without ETag)
(issueNumber: number)
| 1723 | * Get the current state of an issue (without ETag) |
| 1724 | */ |
| 1725 | async getIssueState(issueNumber: number): Promise<IssueState> { |
| 1726 | const response = await this.getIssueWithETag(issueNumber, null); |
| 1727 | if (response.status === 200 && response.data) { |
| 1728 | return response.data; |
| 1729 | } |
| 1730 | throw new Error('Failed to get issue state'); |
| 1731 | } |
| 1732 | /** |
| 1733 | * Get comments from a GitHub issue |
| 1734 | */ |
nothing calls this directly
no test coverage detected