gentle clean print instead of error
This commit is contained in:
parent
52b43cef2b
commit
d06861daa2
10
src/main.rs
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user