Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SIMULATAN committed Sep 10, 2023
1 parent 487c6d6 commit f429fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/local_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn config(opt: &Options) -> Result<bool> {

let mut multi_select = MultiSelect::new();

return if opt.local_config.exists() {
if opt.local_config.exists() {
debug!(
"Local configuration file found at {}",
opt.local_config.display()
Expand Down Expand Up @@ -60,7 +60,6 @@ pub fn config(opt: &Options) -> Result<bool> {
println!("Aborting.");
}
}
Ok(false)
} else {
debug!(
"No local configuration file found at {}",
Expand Down Expand Up @@ -104,8 +103,9 @@ pub fn config(opt: &Options) -> Result<bool> {
println!("Aborting.");
}
}
Ok(false)
};

Ok(false)
}

fn format_package(package_name: &String, dependencies: &Vec<String>) -> String {
Expand Down

0 comments on commit f429fe6

Please sign in to comment.