* Format a note for PR comment display
(note: Note)
| 1567 | * Format a note for PR comment display |
| 1568 | */ |
| 1569 | private formatNoteForGithub(note: Note): string { |
| 1570 | const status = note.resolved ? API.NOTE_STATUS_RESOLVED : API.NOTE_STATUS_OPEN; |
| 1571 | |
| 1572 | return `<!-- DecapCMS Note - Status: ${status} --> |
| 1573 | ${note.content}`; |
| 1574 | } |
| 1575 | |
| 1576 | /** |
| 1577 | * Parse a GitHub comment into a Note object |
no outgoing calls
no test coverage detected