forked from extern/nushell
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
This commit is contained in:
parent
f2b977b9c5
commit
415607706f
@ -1779,7 +1779,6 @@ pub fn parse_use(working_set: &mut StateWorkingSet, spans: &[Span]) -> (Pipeline
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
println!("MODULE NOT FOUND");
|
|
||||||
working_set.error(ParseError::ModuleNotFound(import_pattern.head.span));
|
working_set.error(ParseError::ModuleNotFound(import_pattern.head.span));
|
||||||
return (
|
return (
|
||||||
Pipeline::from_vec(vec![Expression {
|
Pipeline::from_vec(vec![Expression {
|
||||||
|
Loading…
Reference in New Issue
Block a user