Skip to content

Commit 59d2b9f

Browse files
author
John Xiao
committed
Fix code style
1 parent 464828f commit 59d2b9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ module.exports = function (processors, options) {
1616
stream._transform = function (file, encoding, cb) {
1717

1818
if (file.isNull()) {
19-
this.push(file);
20-
return cb();
19+
return cb(null, file)
2120
}
2221

2322
if (file.isStream()) {

0 commit comments

Comments
 (0)