Skip to content

Commit

Permalink
fix: Remove --title arg from node.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jun 5, 2023
1 parent 5141d9b commit b5c36b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
source: crates/cli/tests/run_node_test.rs
assertion_line: 194
expression: "get_path_safe_output(&assert, fixture.path())"
expression: assert.output()
---
▪▪▪▪ npm install
▪▪▪▪ node:binExecArgs
[ '--title', 'node:binExecArgs', '--preserve-symlinks' ]
[ '--preserve-symlinks' ]
▪▪▪▪ node:binExecArgs (100ms)

Tasks: 1 completed
Expand Down
4 changes: 2 additions & 2 deletions crates/node/platform/src/actions/run_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ fn create_node_options(
) -> Result<Vec<String>, MoonError> {
let mut options = string_vec![
// "--inspect", // Enable node inspector
"--title",
&task.target.id,
// "--title",
// &task.target.id,
];

options.extend(node_config.bin_exec_args.to_owned());
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#### 🐞 Fixes

- Node.js
- Fixed an issue where some workers/packages would fail while inheriting parent args.
- Rust
- Fixed an issue where `cargo generate-lockfile` would run in the wrong directory.

Expand Down

0 comments on commit b5c36b3

Please sign in to comment.