Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GRVYDEV committed Jan 16, 2021
1 parent 426935b commit 310b4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
None => SimpleLogger::new(LevelFilter::Info, Config::default()),
},
);
if let Some(path) = matches.value_of("log-file"){
if !path.is_empty(){
if let Some(path) = matches.value_of("log-file") {
if !path.is_empty() {
loggers.push(WriteLogger::new(
LevelFilter::Info,
Config::default(),
Expand Down

0 comments on commit 310b4e2

Please sign in to comment.