mirror of
https://github.com/nushell/nushell.git
synced 2025-06-03 08:36:32 +02:00
do not add a depth level when using the "no quote" function
This function does not add a depth level to the Value it's being given, it only - adds or removes quotes from a String - passes the Value to `value_to_string` again
This commit is contained in:
parent
e504bbc12d
commit
1d11c388e3
@ -272,7 +272,7 @@ fn value_to_string_without_quotes(
|
||||
val.clone()
|
||||
}
|
||||
}),
|
||||
_ => value_to_string(v, span, depth + 1, indent),
|
||||
_ => value_to_string(v, span, depth, indent),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user