Skip to content

Commit

Permalink
Merge pull request #100 from mrodrig/debug-log-fix
Browse files Browse the repository at this point in the history
Debug log fix
  • Loading branch information
mrodrig authored Jan 9, 2019
2 parents 8d7178c + 53c9c36 commit 5f7ad3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"rules": {
//Overrides "eslint:recommended"
"no-console": 0, // allow use of console.log
"no-console": ["error", { allow: ["warn", "error"] }], // allow use of console.warn and console.error

//Add the rules associated with --fix not covered by "eslint:recommended" so we highlight them
//during pre-test script
Expand Down Expand Up @@ -122,4 +122,4 @@
"template-curly-spacing": "error",
"yield-star-spacing": "error"
}
}
}
2 changes: 1 addition & 1 deletion bin/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function processOutput(params) {
return writeToFile(params.output, JSON.stringify(params.outputData, null, 4));
}
// Otherwise, no output was specified so just send it to stdout via the console
console.log(params.outputData);
console.log(params.outputData); // eslint-disable-line no-console
}

function constructKeysList(key, keys) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "mrodrig",
"name": "json-2-csv",
"description": "A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.",
"version": "3.1.0",
"version": "3.1.1",
"repository": {
"type": "git",
"url": "http://github.com/mrodrig/json-2-csv.git"
Expand Down

0 comments on commit 5f7ad3d

Please sign in to comment.