(notification?: GitifyNotification)
| 54 | } |
| 55 | |
| 56 | function buildContexts(notification?: GitifyNotification): string[] { |
| 57 | if (!notification) { |
| 58 | return []; |
| 59 | } |
| 60 | |
| 61 | return [ |
| 62 | notification.subject.type, |
| 63 | notification.repository.fullName, |
| 64 | notification.subject.title, |
| 65 | ]; |
| 66 | } |
no outgoing calls
no test coverage detected