Skip to content

Commit

Permalink
fix(index.js): reset promises
Browse files Browse the repository at this point in the history
  • Loading branch information
felixzapata committed Aug 11, 2016
1 parent 4217605 commit 30eac56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ module.exports = function (customOptions) {
};

var bufferContents = function (file, enc, cb) {

promises = [];

if (file.isNull()) {
cb(null, file);
Expand Down

0 comments on commit 30eac56

Please sign in to comment.