Major fixes. Make git history even messier.
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user