From b13202bbfca3d84b89f88d0ab4146412bb3ef3ce Mon Sep 17 00:00:00 2001 From: Leonhard Kipp Date: Thu, 1 Apr 2021 23:25:26 +0200 Subject: [PATCH] Fix #3244: Add tag reloaded frame (#3246) --- crates/nu-engine/src/evaluation_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-engine/src/evaluation_context.rs b/crates/nu-engine/src/evaluation_context.rs index 8667016b6a..0085912434 100644 --- a/crates/nu-engine/src/evaluation_context.rs +++ b/crates/nu-engine/src/evaluation_context.rs @@ -246,7 +246,7 @@ impl EvaluationContext { .transpose()?; let tag = config::cfg_path_to_scope_tag(cfg_path); - let mut frame = ScopeFrame::new(); + let mut frame = ScopeFrame::with_tag(tag.clone()); frame.env = cfg.env_map(); if let Some(path) = joined_paths {