forked from StrafesNET/asset-tool
-1 loc
This commit is contained in:
parent
658266aa89
commit
fc4cebc862
@ -1501,10 +1501,9 @@ async fn compile(config:CompileConfig)->AResult<()>{
|
|||||||
let style=config.style;
|
let style=config.style;
|
||||||
join_set.spawn(async move{
|
join_set.spawn(async move{
|
||||||
let met=entry.metadata().await?;
|
let met=entry.metadata().await?;
|
||||||
let compile_class=if met.is_dir(){
|
let compile_class=match met.is_dir(){
|
||||||
locate_override_file(&entry,style).await?
|
true=>locate_override_file(&entry,style).await?,
|
||||||
}else{
|
false=>discern_file(&entry,style).await?,
|
||||||
discern_file(&entry,style).await?
|
|
||||||
};
|
};
|
||||||
//discern that bad boy
|
//discern that bad boy
|
||||||
Ok::<_,anyhow::Error>(
|
Ok::<_,anyhow::Error>(
|
||||||
|
Loading…
Reference in New Issue
Block a user