Skip to content

Commit 3c9f7e6

Browse files
committed
Fix output of logs in terminal when executing crate by crate
1 parent ab6e36e commit 3c9f7e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/tracel-xtask/src/commands/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ fn run_unit_test(member: &WorkspaceMember, args: &TestCmdArgs) -> Result<(), any
108108
"-p",
109109
&member.name,
110110
"--color=always",
111-
"--",
112-
"--color=always",
113111
]
114112
.into_iter()
115113
.map(|s| s.to_string())

crates/tracel-xtask/src/utils/process.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ pub fn run_process_for_package(
140140
group_info!("Command line: cargo {}", &joined_args);
141141
let output = Command::new("cargo")
142142
.args(args)
143+
.stdout(Stdio::inherit())
144+
.stderr(Stdio::inherit())
143145
.output()
144146
.map_err(|e| anyhow!("Failed to execute process for '{}': {}", name, e))?;
145147

0 commit comments

Comments
 (0)