empty Buffer at end of transpilation

This commit is contained in:
Philipp Kunz 2016-11-25 13:18:59 +01:00
parent 36f540a22e
commit 8831a8d173
2 changed files with 3 additions and 2 deletions

3
dist/mod02/index.js vendored
View File

@ -26,7 +26,8 @@ let mocha = function (configArg) {
plugins.gulpSourcemaps.write(),
plugins.gulpInjectModules(),
plugins.through2.obj((file, enc, cb) => {
cb(null, file);
console.log(file);
cb();
}, (cb) => {
cb();
})

View File

@ -32,7 +32,7 @@ let mocha = function (configArg: INpmtsConfig) {
plugins.gulpInjectModules(),
plugins.through2.obj(
(file, enc, cb) => {
cb(null, file)
cb()
},
(cb) => {
cb()