Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius authored Dec 13, 2022
2 parents a12f2b6 + 6855c64 commit f632fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl CompleteConfig {
file.write_all(default_toml_string.as_bytes()).unwrap();

bail!("Configuration was generated at {path_str}, please fill it out with necessary information.")
} else if let Ok(config_contents) = read_to_string(&p) {
} else if let Ok(config_contents) = read_to_string(p) {
let config: Self = toml::from_str(config_contents.as_str()).unwrap();

// Remember to check for any important missing config items here!
Expand Down

0 comments on commit f632fb4

Please sign in to comment.