From 73e993577818f2eb868e2d68f8942554ae8f029b Mon Sep 17 00:00:00 2001 From: Mike Eason Date: Thu, 9 Nov 2017 14:44:00 +0000 Subject: [PATCH] Fixes #4 --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 50668b1..f5f215b 100644 --- a/index.js +++ b/index.js @@ -27,7 +27,7 @@ module.exports = function gulpJavaScriptObfuscator(options) { contents: new Buffer(obfuscationResult.getSourceMap()) })) } - cb(); + cb(null, file); } catch (err) { throw new PluginError('gulp-javascript-obfuscator', err); @@ -36,4 +36,4 @@ module.exports = function gulpJavaScriptObfuscator(options) { throw new PluginError('gulp-javascript-obfuscator', 'Streams are not supported!'); } }); -}; \ No newline at end of file +};