diff --git a/crates/nu-command/src/path/join.rs b/crates/nu-command/src/path/join.rs index fdf58e3afe..7244d21101 100644 --- a/crates/nu-command/src/path/join.rs +++ b/crates/nu-command/src/path/join.rs @@ -175,13 +175,11 @@ fn run(call: &Call, args: &Arguments, input: PipelineData) -> Result Ok(PipelineData::Value( + handle_value(stream.into_value()?, args, head), + metadata, + )), PipelineData::Empty => Err(ShellError::PipelineEmpty { dst_span: head }), - _ => Err(ShellError::UnsupportedInput { - msg: "Input value cannot be joined".to_string(), - input: "value originates from here".into(), - msg_span: head, - input_span: input.span().unwrap_or(call.head), - }), } }