Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
n1474335 committed Nov 13, 2018
1 parent 12ebd35 commit 69df2e4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 50 deletions.
69 changes: 21 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/core/operations/JSONToCSV.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ class JSONToCSV extends Operation {
run(input, args) {
const [cellDelim, rowDelim] = args;

// Record values so they don't have to be passed to other functions explicitly
this.cellDelim = cellDelim;
this.rowDelim = rowDelim;
const self = this;

// TODO: Escape cells correctly.

try {
// If the JSON is an array of arrays, this is easy
if (input[0] instanceof Array) {
Expand Down

0 comments on commit 69df2e4

Please sign in to comment.