From 9f3bd804032521e3467e2f82b36052dac5bd589c Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 23 Jan 2024 17:46:18 -0800 Subject: [PATCH] woah --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) 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)?