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 26, 2024
1 parent c2caa5f commit fc236f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
require "dependabot/logger"
require "dependabot/shared_helpers"

# require "git"

Dependabot.logger = Logger.new($stdout)

# ensure logs are output immediately. Useful when running in certain hosts like ContainerGroups
Expand Down Expand Up @@ -494,7 +492,6 @@ def show_diff(original_file, updated_file)
puts "Pull Requests shall be linked to milestone (work item) #{$options[:milestone]}" if $options[:milestone]
puts "Pull Requests shall be labeled #{$options[:custom_labels]}" if $options[:custom_labels]
puts "Working in #{$repo_name}, '#{$options[:branch] || 'default'}' branch under '#{$options[:directory]}' directory"
puts "hostname '#{$hostname}'"

$source = Dependabot::Source.new(
provider: $options[:provider],
Expand Down Expand Up @@ -533,10 +530,8 @@ def show_diff(original_file, updated_file)
else
puts "Fetching #{$package_manager} dependency files ..."
end

files = fetcher.files
commit = fetcher.commit

puts "Found #{files.length} dependency file(s) at commit #{commit}"
files.each { |f| puts " - #{f.path}" }
##############################
Expand Down

0 comments on commit fc236f8

Please sign in to comment.