forked from StrafesNET/asset-tool
not sure if this drops file earlier
This commit is contained in:
parent
a5c01ff9cf
commit
1ba8d636f1
@ -799,7 +799,8 @@ async fn decompile_history_into_git(config:DecompileHistoryConfig)->AResult<()>{
|
|||||||
let mut file_path=config.input_folder.clone();
|
let mut file_path=config.input_folder.clone();
|
||||||
tokio::task::spawn(async move{
|
tokio::task::spawn(async move{
|
||||||
file_path.push(format!("{}_v{}.rbxl",asset_version.assetId,asset_version.assetVersionNumber));
|
file_path.push(format!("{}_v{}.rbxl",asset_version.assetId,asset_version.assetVersionNumber));
|
||||||
let contents=generate_decompiled_context(std::fs::File::open(file_path)?)?;
|
let file=std::fs::File::open(file_path)?;
|
||||||
|
let contents=generate_decompiled_context(file)?;
|
||||||
Ok::<_,anyhow::Error>((asset_version,contents))
|
Ok::<_,anyhow::Error>((asset_version,contents))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user