Skip to content

Commit e3e9b0f

Browse files
Revert "Removing corepack usage from else clause (#11299)"
This reverts commit 6a4f8be.
1 parent 028a428 commit e3e9b0f

File tree

1 file changed

+2
-2
lines changed
  • npm_and_yarn/lib/dependabot/npm_and_yarn

1 file changed

+2
-2
lines changed

npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ def self.run_npm_command(command, fingerprint: command)
324324
package_manager_run_command(NpmPackageManager::NAME, command, fingerprint: fingerprint)
325325
else
326326
Dependabot::SharedHelpers.run_shell_command(
327-
"npm #{command}",
328-
fingerprint: "npm #{fingerprint}"
327+
"corepack npm #{command}",
328+
fingerprint: "corepack npm #{fingerprint}"
329329
)
330330
end
331331
end

0 commit comments

Comments
 (0)