Skip to content

Commit d03905b

Browse files
committed
Only dedupe the package being updated for now
1 parent 8840036 commit d03905b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def run_yarn_berry_subdependency_updater(yarn_lock:)
168168

169169
command = "yarn add #{update}"
170170
SharedHelpers.run_shell_command(command)
171-
SharedHelpers.run_shell_command("yarn dedupe")
171+
SharedHelpers.run_shell_command("yarn dedupe #{dep.name}")
172172
SharedHelpers.run_shell_command("yarn remove #{dep.name}")
173173
{ yarn_lock.name => File.read(yarn_lock.name) }
174174
end

0 commit comments

Comments
 (0)