Remove the old it-hacks from fetch and post (#1807)

This commit is contained in:
Jonathan Turner
2020-05-16 11:18:46 -07:00
committed by GitHub
parent f43ed23ed7
commit 48d06f40b1
5 changed files with 12 additions and 57 deletions

View File

@ -72,11 +72,7 @@ pub fn filter_plugin(
trace!("filter_plugin :: {}", path);
let registry = registry.clone();
let scope = args
.call_info
.scope
.clone()
.set_it(UntaggedValue::string("$it").into_untagged_value());
let scope = args.call_info.scope.clone();
let stream = async_stream! {
let mut args = args.evaluate_once_with_scope(&registry, &scope).await?;