From 8831a8d173103d95fb27c94a6c6857261e94bb2d Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Fri, 25 Nov 2016 13:18:59 +0100 Subject: [PATCH] empty Buffer at end of transpilation --- dist/mod02/index.js | 3 ++- ts/mod02/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/mod02/index.js b/dist/mod02/index.js index 47a911b..d706abf 100644 --- a/dist/mod02/index.js +++ b/dist/mod02/index.js @@ -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(); }) diff --git a/ts/mod02/index.ts b/ts/mod02/index.ts index 327899e..bb4456c 100644 --- a/ts/mod02/index.ts +++ b/ts/mod02/index.ts @@ -32,7 +32,7 @@ let mocha = function (configArg: INpmtsConfig) { plugins.gulpInjectModules(), plugins.through2.obj( (file, enc, cb) => { - cb(null, file) + cb() }, (cb) => { cb()