From 64aed8b579e0b3a39d303807a083cfb8ba93e164 Mon Sep 17 00:00:00 2001 From: Justus Date: Fri, 31 Jan 2025 08:33:37 -0600 Subject: [PATCH] undo feature flag when checking directory --- updater/lib/dependabot/dependency_snapshot.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/updater/lib/dependabot/dependency_snapshot.rb b/updater/lib/dependabot/dependency_snapshot.rb index e036e1e0135..8f3ba7849ee 100644 --- a/updater/lib/dependabot/dependency_snapshot.rb +++ b/updater/lib/dependabot/dependency_snapshot.rb @@ -123,18 +123,14 @@ def job_group def mark_group_handled(group, excluding_dependencies = {}) Dependabot.logger.info("Marking group '#{group.name}' as handled.") - enable = Dependabot::Experiments.enabled?(:allow_refresh_for_existing_pr_dependencies) - directories.each do |directory| @current_directory = directory # add the existing dependencies in the group so individual updates don't try to update them dependencies_in_existing_prs = dependencies_in_existing_pr_for_group(group) - if enable - dependencies_in_existing_prs = dependencies_in_existing_prs.filter do |dep| - !dep["directory"] || dep["directory"] == directory - end + dependencies_in_existing_prs = dependencies_in_existing_prs.filter do |dep| + !dep["directory"] || dep["directory"] == directory end # also add dependencies that might be in the group, as a rebase would add them;