Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 77d382f

Browse files
committedAug 8, 2017
dont push null
1 parent e770e8d commit 77d382f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function createFunctionStream (func, opts) {
2828

2929
function transform (obj, enc, next) {
3030
var out = compiled.call(obj, require, obj)
31-
this.push(out)
31+
if (out) this.push(out)
3232
next()
3333
}
3434

0 commit comments

Comments
 (0)
Please sign in to comment.