Fix per-item run_alias (#1669)

* Fix per-item run_alias

* Fix 1609 also
This commit is contained in:
Jonathan Turner
2020-04-27 18:10:34 +12:00
committed by GitHub
parent 8bd3cedce1
commit 006171d669
5 changed files with 50 additions and 61 deletions

View File

@ -489,10 +489,6 @@ impl Command {
scope: raw_args.call_info.scope.clone().set_it(x.clone()),
}
.evaluate(&registry);
// let call_info = raw_args
// .clone()
// .call_info
// .evaluate(&registry, &Scope::it_value(x.clone()));
match call_info {
Ok(call_info) => match command.run(&call_info, &registry, &raw_args, x) {