core: update pipeline api usage
This commit is contained in:
@@ -50,7 +50,7 @@ static enum bshell_status process_record(
|
||||
|
||||
bshell_runtime_push_scope(rt, p->f_block);
|
||||
bshell_variable *item = bshell_runtime_define_var(rt, "_");
|
||||
bshell_variable_set_value(item, &in);
|
||||
bshell_variable_set_value(item, in);
|
||||
fx_value out = bshell_runtime_eval(rt);
|
||||
bshell_runtime_pop_scope(rt);
|
||||
fx_value_unset(&in);
|
||||
|
||||
Reference in New Issue
Block a user