Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
omallassi committed Apr 18, 2024
1 parent 42b6e51 commit 4c04250
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions adr_config_local_impl/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,9 @@ pub fn set_config_from_name(config: &str, name: &str, value: &str) -> Result<()>
pub fn get_config_from_name(config: &str) -> AdrToolConfig {
let cfg: AdrToolConfig = match confy::load(config, None) {
Err(why) => {

Check failure on line 208 in adr_config_local_impl/src/config/mod.rs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

unused variable: `why`

Check failure on line 208 in adr_config_local_impl/src/config/mod.rs

View workflow job for this annotation

GitHub Actions / build (macos-latest)

unused variable: `why`
println!("Returning default configuration file - [{}]", why);
AdrToolConfig::default()
}
Ok(e) => {
println!("Returning config [{}]", config);
e
},
};
Expand Down

0 comments on commit 4c04250

Please sign in to comment.