Skip to content

Commit

Permalink
Revert "Removing corepack usage from else clause (#11299)" (#11322)
Browse files Browse the repository at this point in the history
This reverts commit 6a4f8be.
  • Loading branch information
thavaahariharangit authored Jan 16, 2025
1 parent 028a428 commit 2fd554a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fd554a

Please sign in to comment.