Skip to content

[BUG] danger.gitlab.mr.description can be null #1431

Description

@xaverlutz

Describe the bug
danger.gitlab.mr.description is null if no description was set in the request body when the MR was generated via the GitLab API.

Steps to reproduce

  1. Create an MR in GitLab with the API
  2. Check for includes in the description

Expected behavior
The description should always be an empty string.

Screenshots

Your Environment

software version
danger.js 11.3.1
node v20.11.1
npm 10.2.4
Operating System macOS 14.3.1 (23D60)

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions