Skip to content

Commit

Permalink
fix: Fix npx argument handling. (#1701)
Browse files Browse the repository at this point in the history
* Fix npx.

* Bump.

* Change args.
  • Loading branch information
milesj authored Oct 23, 2024
1 parent 9d4e5dc commit 02da60c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .yarn/versions/2f71348d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
releases:
"@moonrepo/cli": patch
"@moonrepo/core-linux-arm64-gnu": patch
"@moonrepo/core-linux-arm64-musl": patch
"@moonrepo/core-linux-x64-gnu": patch
"@moonrepo/core-linux-x64-musl": patch
"@moonrepo/core-macos-arm64": patch
"@moonrepo/core-macos-x64": patch
"@moonrepo/core-windows-x64-msvc": patch
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

#### 🐞 Fixes

- Fixed an issue running `npx` commands (primarily through lockfile deduping).

## 1.29.2

#### 🚀 Updates
Expand Down
2 changes: 1 addition & 1 deletion legacy/node/tool/src/node_tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl NodeTool {
_ => {
let mut cmd = Command::new(self.get_npx_path()?);
cmd.with_console(self.console.clone());
cmd.args(["--silent", "--", package]);
cmd.args(["--quiet", "--package", package, "--"]);
cmd.envs(get_proto_env_vars());

if let Some(version) = get_proto_version_env(&self.tool) {
Expand Down

0 comments on commit 02da60c

Please sign in to comment.