Change "object," to "object."

This commit is contained in:
neuroevolutus 2023-03-12 12:25:13 -05:00
parent 9df1d8f45f
commit a1ac5b6df5
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ a:
```
## Set path to prune deep paths
Like pick but recursive. This uses `ireduce` to deeply set the selected paths into an empty object,
Like pick but recursive. This uses `ireduce` to deeply set the selected paths into an empty object.
Given a sample.yml file of:
```yaml

View File

@ -90,7 +90,7 @@ var pathOperatorScenarios = []expressionScenario{
},
{
description: "Set path to prune deep paths",
subdescription: "Like pick but recursive. This uses `ireduce` to deeply set the selected paths into an empty object,",
subdescription: "Like pick but recursive. This uses `ireduce` to deeply set the selected paths into an empty object.",
document: documentToPrune,
expression: "(.parentB.child2, .parentC.child1) as $i\n ireduce({}; setpath($i | path; $i))",
expected: []string{