diff --git a/bundler/helpers/v1/lib/functions.rb b/bundler/helpers/v1/lib/functions.rb index 3888616ed7..fc7949f39f 100644 --- a/bundler/helpers/v1/lib/functions.rb +++ b/bundler/helpers/v1/lib/functions.rb @@ -55,7 +55,7 @@ def self.dependency_source_type(**args) ).type end - def self.depencency_source_latest_git_version(**args) + def self.dependency_source_latest_git_version(**args) set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials)) DependencySource.new( gemfile_name: args.fetch(:gemfile_name), diff --git a/bundler/helpers/v2/lib/functions.rb b/bundler/helpers/v2/lib/functions.rb index 450c6e7be4..b8b5652deb 100644 --- a/bundler/helpers/v2/lib/functions.rb +++ b/bundler/helpers/v2/lib/functions.rb @@ -57,7 +57,7 @@ def self.dependency_source_type(**args) ).type end - def self.depencency_source_latest_git_version(**args) + def self.dependency_source_latest_git_version(**args) set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials)) DependencySource.new( gemfile_name: args.fetch(:gemfile_name), diff --git a/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb b/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb index 4b0de0cb65..3b9b9ffe9d 100644 --- a/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb +++ b/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb @@ -62,7 +62,7 @@ def latest_git_version_details in_a_native_bundler_context do |tmp_dir| NativeHelpers.run_bundler_subprocess( bundler_version: bundler_version, - function: "depencency_source_latest_git_version", + function: "dependency_source_latest_git_version", options: options, args: { dir: tmp_dir,