bjerkio/nestjs-slack

View on GitHub

Showing 1 of 1 total issue

Function runWebhookRequest has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private async runWebhookRequest(req: SlackMessageOptions) {
    invariant(this.options.type === 'webhook', 'expected type to be webhook');

    if ('channels' in this.options) {
      const {
Severity: Minor
Found in src/slack.service.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language