Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masongup-mdsol committed Jun 7, 2024
1 parent d26ddf8 commit d317a87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ impl MAuthInfo {
home.push(CONFIG_FILE);
let config_data = std::fs::read_to_string(&home)?;

let config_data_value: serde_yml::Value =
serde_yml::from_slice(&config_data.into_bytes())?;
let config_data_value: serde_yml::Value = serde_yml::from_slice(&config_data.into_bytes())?;
let common_section = config_data_value
.get("common")
.ok_or(ConfigReadError::InvalidFile(None))?;
Expand Down

0 comments on commit d317a87

Please sign in to comment.