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:
Antoine Stevan 2023-04-08 13:19:09 +02:00 committed by GitHub
parent f2b977b9c5
commit 415607706f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {