mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Revert range expansion for to nuon
(#8210)
# Description The code to generate the nuon format supports writing range literals, which obviates the need to expand the range as added in #8047 # User-Facing Changes `to nuon` will still output ranges as literals # Tests + Formatting - Add test for `to nuon` range output - Add `from nuon` test for range
This commit is contained in:
committed by
GitHub
parent
b36ac8f2f8
commit
836a56b347
@ -34,7 +34,6 @@ impl Command for ToNuon {
|
||||
call: &Call,
|
||||
input: PipelineData,
|
||||
) -> Result<PipelineData, ShellError> {
|
||||
let input = input.try_expand_range()?;
|
||||
Ok(Value::String {
|
||||
val: to_nuon(call, input)?,
|
||||
span: call.head,
|
||||
|
Reference in New Issue
Block a user