Fix exported module not found (#9121)

This commit is contained in:
Jakub Žádník
2023-05-06 23:55:10 +03:00
committed by GitHub
parent a2a346e39c
commit 0ea973b78b
4 changed files with 51 additions and 35 deletions

View File

@ -5198,7 +5198,7 @@ pub fn parse_builtin_commands(
Pipeline::from_vec(vec![expr])
}
b"alias" => parse_alias(working_set, lite_command, None),
b"module" => parse_module(working_set, lite_command, None),
b"module" => parse_module(working_set, lite_command, None).0,
b"use" => {
let (pipeline, _) = parse_use(working_set, &lite_command.parts);
pipeline