From 415607706f634880edf482153b6a4c30329a4d4e Mon Sep 17 00:00:00 2001 From: Antoine Stevan <44101798+amtoine@users.noreply.github.com> Date: Sat, 8 Apr 2023 13:19:09 +0200 Subject: [PATCH] remove the "MODULE NOT FOUND" print from the parser (#8816) related to #8765. should close #8812. # Description this PR simply removes the `prinln("MODULE NOT FOUND")` from the parser. # User-Facing Changes no more `MODULE NOT FOUND` while typing a `use` command --- crates/nu-parser/src/parse_keywords.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/nu-parser/src/parse_keywords.rs b/crates/nu-parser/src/parse_keywords.rs index 42f190678..716c08d03 100644 --- a/crates/nu-parser/src/parse_keywords.rs +++ b/crates/nu-parser/src/parse_keywords.rs @@ -1779,7 +1779,6 @@ pub fn parse_use(working_set: &mut StateWorkingSet, spans: &[Span]) -> (Pipeline ); } } else { - println!("MODULE NOT FOUND"); working_set.error(ParseError::ModuleNotFound(import_pattern.head.span)); return ( Pipeline::from_vec(vec![Expression {