Skip to content

Commit

Permalink
log when group and dependencies are marked as handled
Browse files Browse the repository at this point in the history
  • Loading branch information
judocode committed Jan 23, 2025
1 parent 1f66768 commit 2a22d94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion updater/lib/dependabot/dependency_snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def job_group

sig { params(group: Dependabot::DependencyGroup).void }
def mark_group_handled(group)
Dependabot.logger.info("Marking group '#{group.name}' as handled.")

directories.each do |directory|
@current_directory = directory

Expand All @@ -136,7 +138,9 @@ def mark_group_handled(group)
def add_handled_dependencies(dependency_names)
assert_current_directory_set!
set = @handled_dependencies[@current_directory] || Set.new
set += Array(dependency_names)
names = Array(dependency_names)
Dependabot.logger.info("Adding dependencies as handled: (#{names.join(', ')}).")
set += names
@handled_dependencies[@current_directory] = set
end

Expand Down

0 comments on commit 2a22d94

Please sign in to comment.