Skip to content

Commit

Permalink
Fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
X3n0m0rph59 committed Dec 17, 2023
1 parent 4e4d439 commit 08100c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eruption/src/profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,15 +685,15 @@ mod tests {

let profile_path = assets_path.join("manifest_test.profile").canonicalize()?;

let mut config = config::Config::builder()
let config = config::Config::builder()
.set_override(
"global.script_dirs",
vec![assets_path.to_string_lossy().to_string()],
)?
.build()
.unwrap();

crate::CONFIG.write().unwrap().as_mut().replace(&mut config);
*crate::CONFIG.write().unwrap() = Some(config);

let profile = super::Profile::load_fully(&profile_path);
let profile = match profile {
Expand Down

0 comments on commit 08100c0

Please sign in to comment.