Fix let-env (#3057)

This commit is contained in:
Jonathan Turner
2021-02-15 20:58:51 +13:00
committed by GitHub
parent b202951c1d
commit 48a90fea70
3 changed files with 45 additions and 39 deletions

View File

@ -184,7 +184,7 @@ pub async fn process_script(
trace!("{:#?}", block);
let env = ctx.get_env();
ctx.scope.add_env(env);
ctx.scope.add_env_to_base(env);
let result = run_block(&block, ctx, input_stream).await;
match result {
Ok(input) => {