Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/lib/dependabot/file_fetchers/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down