Skip to content

Commit

Permalink
wip: Mute logs with Stdio::Null
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 15, 2025
1 parent df56357 commit 199de0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/src/commands/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ impl NewCmd {
command.arg("--recurse-submodules").arg("--shallow-submodules");
}

// Stream output to stdout.
command.stdout(Stdio::inherit()).stderr(Stdio::inherit());
// Hide command output
command.stdout(Stdio::null()).stderr(Stdio::null());

let output = command.output().expect("failed to execute command");
if !output.status.success() {
Expand Down

0 comments on commit 199de0d

Please sign in to comment.