We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1dbe11 commit 2e3dd05Copy full SHA for 2e3dd05
2 files changed
index.js
@@ -19,7 +19,7 @@ module.exports = function (pattern, options) {
19
cb(!match);
20
}, {
21
objectMode: true,
22
- passthrough: options.passthough !== false,
+ passthrough: options.passthrough !== false,
23
restore: options.restore
24
});
25
};
test.js
@@ -222,8 +222,8 @@ describe('filter.restore', function () {
222
streamFilter1.end();
223
224
225
- it('should end when not using the passthough option', function (cb) {
226
- var stream = filter('*.json', {restore: true, passthough: false});
+ it('should end when not using the passthrough option', function (cb) {
+ var stream = filter('*.json', {restore: true, passthrough: false});
227
var restoreStream = stream.restore;
228
var buffer = [];
229
0 commit comments