()
| 70 | } |
| 71 | |
| 72 | function getExclusions(): string | void { |
| 73 | if (isEnterprise()) { |
| 74 | return 'Hotfixes are not applied on GitHub Enterprise.'; |
| 75 | } |
| 76 | |
| 77 | if (isDevelopmentVersion()) { |
| 78 | return 'Hotfixes are not applied in the development version'; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | async function showStoredCssHotfixes(): Promise<void> { |
| 83 | $('#hotfixes-field').textContent = getExclusions() |
no test coverage detected