Skip to content

Commit

Permalink
remove the "MODULE NOT FOUND" print from the parser (nushell#8816)
Browse files Browse the repository at this point in the history
related to nushell#8765.
should close nushell#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
  • Loading branch information
amtoine committed Apr 8, 2023
1 parent f2b977b commit 4156077
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/nu-parser/src/parse_keywords.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 4156077

Please sign in to comment.