Skip to content

Commit

Permalink
ignore console.log's in a helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
kdzwinel committed Jul 12, 2018
1 parent 3838f3f commit 57704d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sd-validation/scripts/generate-schema-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ request(SCHEMA_ORG_URL)
.then(text => JSON.parse(text))
.then(processData)
.then(result => fs.writeFileSync(SCHEMA_TREE_FILE, JSON.stringify(result, null, 2)))
.then(() => console.log('Success.'))
.catch(e => console.error(e));
.then(() => console.log('Success.'))// eslint-disable-line no-console
.catch(e => console.error(e));// eslint-disable-line no-console

function processData(data) {
const types = [];
Expand Down

0 comments on commit 57704d7

Please sign in to comment.