From e3e9b0f23d2e7857479e7dfd558c80f37ddfad71 Mon Sep 17 00:00:00 2001 From: Hariharan Thavachelvam <164553783+thavaahariharangit@users.noreply.github.com> Date: Thu, 16 Jan 2025 19:12:50 +0000 Subject: [PATCH] Revert "Removing corepack usage from else clause (#11299)" This reverts commit 6a4f8be5c6a0e6cd2e804a342077266d6eeb06eb. --- npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb b/npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb index 7cd5ac3956..1f028de1f8 100644 --- a/npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb +++ b/npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb @@ -324,8 +324,8 @@ def self.run_npm_command(command, fingerprint: command) package_manager_run_command(NpmPackageManager::NAME, command, fingerprint: fingerprint) else Dependabot::SharedHelpers.run_shell_command( - "npm #{command}", - fingerprint: "npm #{fingerprint}" + "corepack npm #{command}", + fingerprint: "corepack npm #{fingerprint}" ) end end