Skip to content

Commit 17eda48

Browse files
authored
Merge pull request javascript-obfuscator#5 from mike-eason/patch-1
Fixes javascript-obfuscator#4
2 parents b8a1a29 + 73e9935 commit 17eda48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function gulpJavaScriptObfuscator(options) {
2727
contents: new Buffer(obfuscationResult.getSourceMap())
2828
}))
2929
}
30-
cb();
30+
cb(null, file);
3131
}
3232
catch (err) {
3333
throw new PluginError('gulp-javascript-obfuscator', err);
@@ -36,4 +36,4 @@ module.exports = function gulpJavaScriptObfuscator(options) {
3636
throw new PluginError('gulp-javascript-obfuscator', 'Streams are not supported!');
3737
}
3838
});
39-
};
39+
};

0 commit comments

Comments
 (0)