Skip to content

Commit c17976a

Browse files
committed
Fix example in README
1 parent c67f943 commit c17976a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ $ npm install jsonreduce -g
1414

1515
`this` will be each line of JSON that gets parsed out of the incoming newline-delimited json stream. Two arguments will be provided, `previous` and `current`. `current` is the current line being parsed while `previous` is the memoized value (same as `this`).
1616

17-
```BASH
18-
$ echo '{"foo": "bar"}\n{"baz": "taco"}' | jsonreduce 'this.keys = this.keys.concat(Object.keys(current))'' --memo '{"keys": []}'
17+
``` bash
18+
$ echo '{"foo": "bar"}\n{"baz": "taco"}' | jsonreduce 'this.keys = this.keys.concat(Object.keys(current))' --memo '{"keys": []}'
1919
{"keys":["foo","baz"]}
2020
```
2121

0 commit comments

Comments
 (0)