Skip to content

Commit 93a5181

Browse files
committed
fix: Include npm in corepack-supported package managers
npm is managed by corepack. Only bun is unsupported.
1 parent 44e190b commit 93a5181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/turborepo/tests/common/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ fn git_commit_if_changed(dir: &Path, message: &str) -> Result<(), anyhow::Error>
349349
}
350350

351351
fn corepack_supports(pm_name: &str) -> bool {
352-
matches!(pm_name, "yarn" | "pnpm" | "berry")
352+
matches!(pm_name, "npm" | "yarn" | "pnpm" | "berry")
353353
}
354354

355355
fn prepend_to_path(dir: &Path) -> String {

0 commit comments

Comments
 (0)