diff --git a/src/main.rs b/src/main.rs index ed99039..47b6c15 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)?