From df059fb9dbeccca951122a2759e6c63004b89d9b Mon Sep 17 00:00:00 2001 From: Maciej Gol <1kroolik1@gmail.com> Date: Mon, 22 May 2023 12:24:19 +0200 Subject: [PATCH] Update base.rb --- common/lib/dependabot/file_fetchers/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/dependabot/file_fetchers/base.rb b/common/lib/dependabot/file_fetchers/base.rb index 6c835e874024..822aa0910682 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