Major fixes. Make git history even messier.

This commit is contained in:
Cutieguwu
2025-12-31 15:27:41 -05:00
parent 43454d1c8a
commit ae3b5d8855
6 changed files with 106 additions and 82 deletions

View File

@@ -41,12 +41,13 @@ fn main() -> anyhow::Result<()> {
};
let map: MapFile = {
let path = crate::io::get_path(&config.output, &config.input, "map")
let path = crate::io::get_path(&config.map, &config.input, "map")
.context("Failed to generate map path.")?;
MapFile::try_from(
OpenOptions::new()
.read(true)
.write(true)
.create(true)
.open(&path)
.with_context(|| {
@@ -58,7 +59,7 @@ fn main() -> anyhow::Result<()> {
let mut recover_tool = Recover::new(&config, &mut input, output, map)?;
recover_tool.run();
recover_tool.run()?;
Ok(())
}