core: update pipeline api usage

This commit is contained in:
2026-05-30 19:53:15 +01:00
parent 1710f705e9
commit 531191ab52
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -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);
+1 -5
View File
@@ -56,11 +56,7 @@ static enum bshell_status process_record(
continue;
}
bshell_verb_ref(verb);
bshell_pipeline_write_value(
pipeline,
fx_value_ref_copy_return(v),
false);
bshell_pipeline_write_value(pipeline, *v, false);
break;
} while (1);