Skip to content

Commit

Permalink
refactor: Remove unnecessary else from get_config_file
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Oct 19, 2020
1 parent 06ec9cf commit a6dd3a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,8 @@ impl File {
return Some(config_file);
}
}
None
} else {
None
}
None
}
}

Expand Down

0 comments on commit a6dd3a4

Please sign in to comment.