remove enter scope

This commit is contained in:
Fernando Herrera 2021-09-20 10:32:55 +01:00
parent 672dd5a868
commit cb0914ecb0

View File

@ -81,7 +81,6 @@ fn eval_external(
.ok_or_else(|| ShellError::ExternalNotSupported(*name))?;
let command = engine_state.get_decl(decl_id);
let new_context = context.enter_scope();
let mut call = Call::new();
call.positional = [*name]
@ -99,7 +98,7 @@ fn eval_external(
})
.collect();
command.run(&new_context, &call, input)
command.run(&context, &call, input)
}
pub fn eval_expression(