From d6993844bff409ccc2d19b595d554a5e0b49a5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 29 Jun 2023 18:09:44 +0200 Subject: [PATCH] Pass around subdependency metadata --- common/lib/dependabot/update_checkers/base.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/lib/dependabot/update_checkers/base.rb b/common/lib/dependabot/update_checkers/base.rb index f5c6386bee19..40dc22e86d79 100644 --- a/common/lib/dependabot/update_checkers/base.rb +++ b/common/lib/dependabot/update_checkers/base.rb @@ -164,7 +164,8 @@ def updated_dependency_without_unlock requirements: dependency.requirements, previous_version: previous_version, previous_requirements: dependency.requirements, - package_manager: dependency.package_manager + package_manager: dependency.package_manager, + subdependency_metadata: dependency.subdependency_metadata ) end @@ -178,7 +179,8 @@ def updated_dependency_with_own_req_unlock requirements: updated_requirements, previous_version: previous_version, previous_requirements: dependency.requirements, - package_manager: dependency.package_manager + package_manager: dependency.package_manager, + subdependency_metadata: dependency.subdependency_metadata ) end