diff --git a/common/lib/dependabot/file_fetchers/base.rb b/common/lib/dependabot/file_fetchers/base.rb index 60bb61e84ac..baa7d290c9b 100644 --- a/common/lib/dependabot/file_fetchers/base.rb +++ b/common/lib/dependabot/file_fetchers/base.rb @@ -375,7 +375,7 @@ def _build_github_file_struct(file) def _gitlab_repo_contents(repo, path, commit) gitlab_client. - repo_tree(repo, path: path, ref_name: commit, per_page: 100). + repo_tree(repo, path: path, ref: commit, per_page: 100). map do |file| # GitLab API essentially returns the output from `git ls-tree` type = case file.type