Skip to content

Commit

Permalink
changed a function which might be messing with config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
perpetualcacophony committed Aug 18, 2024
1 parent da6a7fe commit 713f190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl PoiseData {
};

let config: super::config::Config = ::config::Config::builder()
.add_source(::config::File::with_name(&config_file))
.add_source(::config::File::new(&config_file, config::FileFormat::Toml))
.build()
.expect_or_log("config file could not be loaded")
.try_deserialize()
Expand Down

0 comments on commit 713f190

Please sign in to comment.