Skip to content

Commit 6b2df10

Browse files
committed
fix #93
1 parent 5ba2788 commit 6b2df10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libs/core/Converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Converter.prototype._line = function(line) {
259259
this.emit("error", "row_exceed", this._csvLineBuffer);
260260
}
261261
if (!utils.isToogleQuote(this._csvLineBuffer, this.param.quote)) { //if a complete record is in buffer.push to result
262-
data = this._csvLineBuffer;
262+
var data = this._csvLineBuffer;
263263
this._csvLineBuffer = '';
264264
lines.push(data);
265265
} else { //if the record in buffer is not a complete record (quote does not close). wait next line

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"email": "t3dodson@gmail.com"
1919
}
2020
],
21-
"version": "0.5.6",
21+
"version": "0.5.7",
2222
"keywords": [
2323
"csv",
2424
"csvtojson",

0 commit comments

Comments
 (0)