forked from extern/nushell
Fix warnings and split Scope (#1902)
This commit is contained in:
@ -35,7 +35,7 @@ impl UnevaluatedCallInfo {
|
||||
it: &Value,
|
||||
) -> Result<CallInfo, ShellError> {
|
||||
let mut scope = self.scope.clone();
|
||||
scope = scope.set_it(it.clone());
|
||||
scope.it = it.clone();
|
||||
let args = evaluate_args(&self.args, registry, &scope).await?;
|
||||
|
||||
Ok(CallInfo {
|
||||
|
Reference in New Issue
Block a user