summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/iconv-lite/lib/streams.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/iconv-lite/lib/streams.js')
-rw-r--r--tools/eslint/node_modules/iconv-lite/lib/streams.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/eslint/node_modules/iconv-lite/lib/streams.js b/tools/eslint/node_modules/iconv-lite/lib/streams.js
index bb4dbdaf4a..4409552958 100644
--- a/tools/eslint/node_modules/iconv-lite/lib/streams.js
+++ b/tools/eslint/node_modules/iconv-lite/lib/streams.js
@@ -6,7 +6,7 @@ var Buffer = require("buffer").Buffer,
// == Exports ==================================================================
module.exports = function(iconv) {
-
+
// Additional Public API.
iconv.encodeStream = function encodeStream(encoding, options) {
return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
@@ -101,7 +101,7 @@ IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) {
IconvLiteDecoderStream.prototype._flush = function(done) {
try {
var res = this.conv.end();
- if (res && res.length) this.push(res, this.encoding);
+ if (res && res.length) this.push(res, this.encoding);
done();
}
catch (e) {
@@ -118,3 +118,4 @@ IconvLiteDecoderStream.prototype.collect = function(cb) {
});
return this;
}
+