From fcf43faa73f96a1facaf06ec636dd23366785e90 Mon Sep 17 00:00:00 2001 From: Alan Smithee Date: Sun, 13 Feb 2022 23:30:54 +0900 Subject: [PATCH] moved output logo prev update rule --- src/main.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 62112e4a..db9d77ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,6 +58,15 @@ impl App { fn exec(&mut self) { let analysis_start_time: DateTime = Local::now(); + if !configs::CONFIG.read().unwrap().args.is_present("quiet") { + self.output_logo(); + println!(""); + self.output_eggs(&format!( + "{:02}/{:02}", + &analysis_start_time.month().to_owned(), + &analysis_start_time.day().to_owned() + )); + } if configs::CONFIG .read() .unwrap() @@ -76,15 +85,6 @@ impl App { } return; } - if !configs::CONFIG.read().unwrap().args.is_present("quiet") { - self.output_logo(); - println!(""); - self.output_eggs(&format!( - "{:02}/{:02}", - &analysis_start_time.month().to_owned(), - &analysis_start_time.day().to_owned() - )); - } if !Path::new("./config").exists() { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()),