Skip to content

Commit

Permalink
chg: do not display start time when list-contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Nov 15, 2024
1 parent dd29c10 commit 2f7ef48
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -376,10 +381,6 @@ impl App {
)
}
}
Action::ListContributors(_) => {
self.print_contributors();
return;
}
Action::LogonSummary(_) => {
let mut target_output_path = Nested::<String>::new();
if let Some(path) = &stored_static.output_path {
Expand Down Expand Up @@ -830,6 +831,7 @@ impl App {
let _ = self.output_open_close_message("closing_messages.txt", stored_static);
return;
}
_ => {}
}

// 処理時間の出力
Expand Down

0 comments on commit 2f7ef48

Please sign in to comment.