Skip to content

Commit 998b4ed

Browse files
authored
Grammar fixes (#1877)
1 parent 26effdd commit 998b4ed

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ yq (4.9.6) focal; urgency=medium
135135
yq (3.3.2) focal; urgency=medium
136136

137137
* Bug fix: existStatus bug (#459)
138-
* Automatically makes a os temp directory if it does not exist (#461)
138+
* Automatically makes an os temp directory if it does not exist (#461)
139139

140140
-- Roberto Mier Escandon <[email protected]> Fri, 07 Aug 2020 18:53:01 +0200
141141

pkg/yqlib/data_tree_navigator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
type DataTreeNavigator interface {
10-
// given the context and a expressionNode,
10+
// given the context and an expressionNode,
1111
// this will process the against the given expressionNode and return
1212
// a new context of matching candidates
1313
GetMatchingNodes(context Context, expressionNode *ExpressionNode) (Context, error)

pkg/yqlib/doc/operators/boolean-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `or` and `and` operators take two parameters and return a boolean result.
44

55
`not` flips a boolean from true to false, or vice versa.
66

7-
`any` will return `true` if there are any `true` values in a array sequence, and `all` will return true if _all_ elements in an array are true.
7+
`any` will return `true` if there are any `true` values in an array sequence, and `all` will return true if _all_ elements in an array are true.
88

99
`any_c(condition)` and `all_c(condition)` are like `any` and `all` but they take a condition expression that is used against each element to determine if it's `true`. Note: in `jq` you can simply pass a condition to `any` or `all` and it simply works - `yq` isn't that clever..yet
1010

pkg/yqlib/doc/operators/headers/boolean-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `or` and `and` operators take two parameters and return a boolean result.
44

55
`not` flips a boolean from true to false, or vice versa.
66

7-
`any` will return `true` if there are any `true` values in a array sequence, and `all` will return true if _all_ elements in an array are true.
7+
`any` will return `true` if there are any `true` values in an array sequence, and `all` will return true if _all_ elements in an array are true.
88

99
`any_c(condition)` and `all_c(condition)` are like `any` and `all` but they take a condition expression that is used against each element to determine if it's `true`. Note: in `jq` you can simply pass a condition to `any` or `all` and it simply works - `yq` isn't that clever..yet
1010

pkg/yqlib/doc/operators/multiply-merge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ will output
519519
some: thing
520520
```
521521

522-
## Merging an null with an array
522+
## Merging a null with an array
523523
Running
524524
```bash
525525
yq --null-input 'null * ["some"]'

pkg/yqlib/operator_multiply_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ var multiplyOperatorScenarios = []expressionScenario{
594594
},
595595
},
596596
{
597-
description: "Merging an null with an array",
597+
description: "Merging a null with an array",
598598
expression: `null * ["some"]`,
599599
expected: []string{
600600
"D0, P[], (!!seq)::- some\n",

pkg/yqlib/operator_to_number.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func tryConvertToNumber(value string) (string, bool) {
10-
// try a int first
10+
// try an int first
1111
_, _, err := parseInt64(value)
1212
if err == nil {
1313
return "!!int", true

release_notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
- Fixed bug - handle expressions that match a directory (e.g. ".")
276276

277277
4.19.1:
278-
- New [eval](https://mikefarah.gitbook.io/yq/operators/eval) _operator_ that allows dynamic expression evaluation (e.g. from a env variable) (#1087)
278+
- New [eval](https://mikefarah.gitbook.io/yq/operators/eval) _operator_ that allows dynamic expression evaluation (e.g. from an env variable) (#1087)
279279
- Adding new elements to array now automatically applies styling of existing elements (#722)
280280

281281
4.18.1:

0 commit comments

Comments
 (0)