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 f14d1dc commit ce7d5a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +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(
<<~CMD
git clone #{clone_options.string} #{url} #{repo_contents_path}
CMD
)
Dependabot::SharedHelpers.run_shell_command("git clone #{clone_options.string} #{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 ce7d5a4

Please sign in to comment.