next should be callback. fixes #15
This commit is contained in:
parent
d3428dde9b
commit
847b15462b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ extract.on('entry', function(header, stream, callback) {
|
|||
|
||||
stream.resume(); // just auto drain the stream
|
||||
stream.on('end', function() {
|
||||
next(); // ready for next entry
|
||||
callback(); // ready for next entry
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue