Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
craigulliott committed Oct 31, 2016
1 parent 8937c7a commit ff28795
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = function (fileName) {
// keep track of the latest file
latestFile = file;

cb(null, file);
cb();

};

Expand Down Expand Up @@ -86,8 +86,6 @@ module.exports = function (fileName) {
var fileContents = new Buffer(compiledParserSource);
combinedFile.contents = fileContents;

// remove other files
this.length = 0;
// add this new file
this.push(combinedFile);
cb();
Expand Down

0 comments on commit ff28795

Please sign in to comment.