diff --git a/src/main.rs b/src/main.rs index 8722ce2..9c52139 100644 --- a/src/main.rs +++ b/src/main.rs @@ -682,10 +682,16 @@ fn write_commit(config:WriteCommitConfig,b:AResult<(AssetVersion,DecompiledConte { let mut src=config.output_folder.clone(); src.push("src"); - std::fs::remove_dir_all(src)?; + match std::fs::remove_dir_all(src){ + Ok(())=>(), + Err(e)=>println!("remove_dir_all src failed {}",e), + } let mut template=config.output_folder.clone(); template.push("template.rbxlx"); - std::fs::remove_file(template)?; + match std::fs::remove_file(template){ + Ok(())=>(), + Err(e)=>println!("remove_file template.rbxlx failed {}",e), + } } //write files