We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d1252 commit 98ae3ebCopy full SHA for 98ae3eb
.travis.yml
@@ -0,0 +1,3 @@
1
+language: node_js
2
+node_js:
3
+ - "0.10"
lib/converter.js
@@ -26,14 +26,12 @@ var buildOptions = function (opts) {
26
module.exports = {
27
28
json2csv: function (array, callback, opts) {
29
- if (!opts) { opts = OPTIONS(); }
30
- else { opts = buildOptions(opts); }
+ opts = buildOptions(opts);
31
json2Csv.json2csv(opts, array, callback);
32
},
33
34
csv2json: function (csv, callback, opts) {
35
36
37
csv2Json.csv2json(opts, csv, callback);
38
}
39
0 commit comments