Skip to content

Commit

Permalink
Removing corepack usage from else clause (#11299)
Browse files Browse the repository at this point in the history
* Removing corepack usage from else clause

* Fixing an rspec failure.

* Removing the .npmrc file changes, as mark already fixed it.

* Removing unnecessay comments.

* Reverting last change.

---------

Co-authored-by: “Thavachelvam <“thavaahariharangit@git.com”>
  • Loading branch information
thavaahariharangit and “Thavachelvam authored Jan 16, 2025
1 parent 960ff4b commit 6a4f8be
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(
"corepack npm #{command}",
fingerprint: "corepack npm #{fingerprint}"
"npm #{command}",
fingerprint: "npm #{fingerprint}"
)
end
end
Expand Down

0 comments on commit 6a4f8be

Please sign in to comment.