Showing 1 of 1 total issue
Function runWebhookRequest
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async runWebhookRequest(req: SlackMessageOptions) {
invariant(this.options.type === 'webhook', 'expected type to be webhook');
if ('channels' in this.options) {
const {