(collection: string, slug: string)
| 1546 | } |
| 1547 | |
| 1548 | async getUnpublishedEntrySha(collection: string, slug: string) { |
| 1549 | const contentKey = this.generateContentKey(collection, slug); |
| 1550 | const branch = branchFromContentKey(contentKey); |
| 1551 | const pullRequest = await this.getBranchPullRequest(branch); |
| 1552 | return pullRequest.head.sha; |
| 1553 | } |
| 1554 | |
| 1555 | /** |
| 1556 | * Constants for note formatting to aid with PR comment to note conversion |
no test coverage detected