Skip to content

Commit

Permalink
Use "--" with pnpm too
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed Oct 9, 2022
1 parent 0f8c809 commit 4f8e8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl Runner for NpmRunner {

if is_pnpm {
let mut pnpm = Command::new("pnpm");
return run_command(pnpm.arg("run").arg(task).args(args));
return run_command(pnpm.arg("run").arg(task).arg("--").args(args));
}

let mut npm = Command::new("npm");
Expand Down

0 comments on commit 4f8e8d2

Please sign in to comment.