Skip to content

Ensure dependency_files.dependencies is an empty array

Currently GitLab doesn't handle null values gracefully. To ensure we always return an empty array, allocate an empty slice to start.

Relates to https://gitlab.com/gitlab-com/gl-infra/production/-/issues/6051

Edited by Stan Hu

Merge request reports

Loading