Skip to content

Commit

Permalink
Update update_script.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhuklinets authored Aug 6, 2024
1 parent 72db5bf commit e573342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def show_diff(original_file, updated_file)
clone_options << " --branch #{$options[:branch]} --single-branch" if $options[:branch]
puts "Cloning repository into #{repo_contents_path}"
puts "git clone #{clone_options.string} #{url} #{repo_contents_path}"
Dependabot::SharedHelpers.run_shell_command("git clone #{clone_options.string} #{url} #{repo_contents_path}")
Dependabot::SharedHelpers.run_shell_command("git clone -c http.extraheader=\"AUTHORIZATION: bearer #{auth_token}\" --branch #{$options[:branch]} #{url} #{repo_contents_path}")
# repo_api_query = "/&versionDescriptor[versionType]=branch&versionDescriptor[version]=#{$options[:branch]}" \
# "&$format=zip&download=true"
# repo_api_path = "#{$options[:azure_organization]}/#{$options[:azure_project]}/_apis/git/repositories/" \
Expand Down

0 comments on commit e573342

Please sign in to comment.