summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-08-17 14:40:09 +0200
committermo8it <mo8it@proton.me>2024-08-17 14:40:09 +0200
commit6ce31defb6386541e015c7905add3a6c138b35c6 (patch)
tree16e7ce48959e7d2cd7f8b3b0e944e17877e57e5b /src
parent0b3ad9141bc6a04d5216f8dec0163f92bcee4804 (diff)
Ignore stdout of git init
Diffstat (limited to 'src')
-rw-r--r--src/init.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.rs b/src/init.rs
index 3a7ccf4..95b04e9 100644
--- a/src/init.rs
+++ b/src/init.rs
@@ -139,13 +139,14 @@ pub fn init() -> Result<()> {
let _ = Command::new("git")
.arg("init")
.stdin(Stdio::null())
+ .stdout(Stdio::null())
.stderr(Stdio::null())
.status();
}
writeln!(
stdout,
- "\n{}\n\n{}",
+ "{}\n\n{}",
"Initialization done ✓".green(),
POST_INIT_MSG.bold(),
)?;