diff options
| author | mo8it <mo8it@proton.me> | 2024-08-17 14:40:09 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-17 14:40:09 +0200 |
| commit | 6ce31defb6386541e015c7905add3a6c138b35c6 (patch) | |
| tree | 16e7ce48959e7d2cd7f8b3b0e944e17877e57e5b | |
| parent | 0b3ad9141bc6a04d5216f8dec0163f92bcee4804 (diff) | |
Ignore stdout of git init
| -rw-r--r-- | src/init.rs | 3 |
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(), )?; |
