Skip to content

Commit

Permalink
fix: unwind parameter in command line mode (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
aosaimy authored and knownasilya committed Jul 27, 2017
1 parent ff514ba commit e706c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/json2csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ getFields(function (err, fields) {
}

if (program.unwindPath) {
opts.unwindPath = program.fields.split(',');
opts.unwindPath = program.unwindPath.split(',');
}

var csv = json2csv(opts);
Expand Down

0 comments on commit e706c25

Please sign in to comment.