forked from StrafesNET/asset-tool
woah
This commit is contained in:
parent
7863137174
commit
9f3bd80403
@ -1244,6 +1244,11 @@ async fn discern_node(search_path:&std::path::PathBuf,search_name:&str,style:Opt
|
||||
}
|
||||
},
|
||||
(Ok(_),Ok(_))=>Err(QueryResolveError::Ambiguous)?,
|
||||
//neither
|
||||
(Err(QueryResolveError::NotFound),Err(QueryResolveError::NotFound))=>CompileNode{
|
||||
class:CompileClass::Folder,
|
||||
folder:Some(dir),
|
||||
},
|
||||
//other error
|
||||
(Err(e),_)
|
||||
|(_,Err(e))=>Err(e)?
|
||||
|
Loading…
Reference in New Issue
Block a user