mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 14:21:01 +02:00
Introduce metadata into the pipeline (#397)
This commit is contained in:
@ -363,8 +363,8 @@ impl EngineState {
|
||||
let decl = self.get_decl(decl_id);
|
||||
|
||||
match input {
|
||||
PipelineData::Stream(_) => decl,
|
||||
PipelineData::Value(value) => match value {
|
||||
PipelineData::Stream(..) => decl,
|
||||
PipelineData::Value(value, ..) => match value {
|
||||
Value::CustomValue { val, .. } => {
|
||||
// This filter works because the custom definitions were declared
|
||||
// before the default nushell declarations. This means that the custom
|
||||
|
Reference in New Issue
Block a user