Skip to content

Commit

Permalink
Use split2 in "Writing Transforms".
Browse files Browse the repository at this point in the history
  • Loading branch information
hackergrrl committed Jun 20, 2016
1 parent 291b830 commit ac79c5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -18,6 +18,7 @@
"through2": "~0.5.1",
"ever": "~0.0.3",
"colornames": "~0.0.2"
"split2": "^2.1.0"
},
"devDependencies": {
"brfs": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion problems/writing_transforms/problem.txt
Expand Up @@ -41,7 +41,7 @@ output that looks like:

You can either buffer up in the input with the `concat-stream` module and
run your previous solution to the previous "using transforms" level or if
you are feeling adventurous, you can string together the `split`,
you are feeling adventurous, you can string together `split2`,
`quote-stream`, and `through2` modules with `stream-combiner2` to build a
transform that processes the files in-place.

Expand Down
2 changes: 1 addition & 1 deletion solutions/writing_transforms/tr.js
@@ -1,5 +1,5 @@
var through = require('through2');
var split = require('split');
var split = require('split2');
var sprintf = require('sprintf');
var quote = require('quote-stream');
var combine = require('stream-combiner2');
Expand Down

0 comments on commit ac79c5e

Please sign in to comment.