diff --git a/src/main.rs b/src/main.rs index 05d93b881..76bf1e8cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -232,6 +232,11 @@ impl App { println!(); } let _ = self.output_open_close_message("opening_messages.txt", stored_static); + if let Action::ListContributors(_) = &stored_static.config.action.as_ref().unwrap() { + self.print_contributors(); + return; + } + write_color_buffer( &BufferWriter::stdout(ColorChoice::Always), get_writable_color( @@ -376,10 +381,6 @@ impl App { ) } } - Action::ListContributors(_) => { - self.print_contributors(); - return; - } Action::LogonSummary(_) => { let mut target_output_path = Nested::::new(); if let Some(path) = &stored_static.output_path { @@ -830,6 +831,7 @@ impl App { let _ = self.output_open_close_message("closing_messages.txt", stored_static); return; } + _ => {} } // 処理時間の出力