diff --git a/common/lib/dependabot/file_fetchers/base.rb b/common/lib/dependabot/file_fetchers/base.rb index 8d38a08237..a5d8f6266a 100644 --- a/common/lib/dependabot/file_fetchers/base.rb +++ b/common/lib/dependabot/file_fetchers/base.rb @@ -520,7 +520,7 @@ def _clone_repo_contents(target_directory:) ) if source.commit # This code will only be called for testing. Production will never pass a commit - # since Dependabot always wants to test the latest commit on a branch. + # since Dependabot always wants to use the latest commit on a branch. Dir.chdir(path) do # Need to fetch the commit due to the --depth 1 above. SharedHelpers.run_shell_command("git fetch --depth 1 origin #{source.commit}")