Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 15, 2024
1 parent 624baa2 commit 887b772
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ pub fn run() -> Result<()> {
attempt_kill_factorio(factorio_process_information);
})?;

let symbol_cache = SymbolCache::new(pdb_path, "factorio.exe").inspect_err(|_| {
attempt_kill_factorio(factorio_process_information);
}).context("Failed to create symbol cache.")?;
let symbol_cache = SymbolCache::new(pdb_path, "factorio.exe")
.inspect_err(|_| {
attempt_kill_factorio(factorio_process_information);
})
.context("Failed to create symbol cache.")?;

for (mod_name, dll_path) in all_mods {
println!("Discovered rivets mod: {mod_name}");
Expand Down

0 comments on commit 887b772

Please sign in to comment.