This commit is contained in:
JT
2021-10-25 17:24:10 +13:00
parent b6d269e90a
commit 397a31e69c
8 changed files with 241 additions and 195 deletions

View File

@ -72,7 +72,7 @@ impl Command for FromJson {
call: &Call,
input: PipelineData,
) -> Result<nu_protocol::PipelineData, ShellError> {
let span = input.span()?;
let span = call.head;
let mut string_input = input.collect_string();
string_input.push('\n');