Skip to content

Commit

Permalink
pin corepack to 0.24.1 (#1070)
Browse files Browse the repository at this point in the history
* pin corepack to 0.24.1

* update snapshots
  • Loading branch information
coffee-cup committed Feb 20, 2024
1 parent ced1f38 commit ff3328f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/node/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl Provider for NodeProvider {
// Install
let corepack = NodeProvider::uses_corepack(app, env)?;
let mut install = Phase::install(if corepack {
Some("npm install -g corepack && corepack enable".to_string())
Some("npm install -g corepack@0.24.1 && corepack enable".to_string())
} else {
NodeProvider::get_install_command(app)
});
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/generate_plan_tests__node_yarn_berry.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ expression: plan
"setup"
],
"cmds": [
"npm install -g corepack && corepack enable",
"npm install -g corepack@0.24.1 && corepack enable",
"yarn install --check-cache"
],
"cacheDirectories": [
Expand Down

0 comments on commit ff3328f

Please sign in to comment.