Skip to content

Commit

Permalink
Update the eslint definition to un-break the CI build (#6587)
Browse files Browse the repository at this point in the history
  • Loading branch information
orta authored and SimenB committed Jul 1, 2018
1 parent 2278230 commit b21a36e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ module.exports = {
'examples/**/*',
'scripts/**/*',
'e2e/*/**/*',
'website/*.js',
'website/*/**/*',
'eslintImportResolver.js',
],
Expand Down
6 changes: 3 additions & 3 deletions website/fetchSuporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ request(
for (const key of REQUIRED_KEYS) {
if (!item || typeof item !== 'object')
throw new Error(
`backer info item (${JSON.stringify(item)} is not an object`,
`backer info item (${JSON.stringify(item)} is not an object`
);
if (!(key in item))
throw new Error(
`backer info item (${JSON.stringify(item)} doesn't include ${key}`,
`backer info item (${JSON.stringify(item)} doesn't include ${key}`
);
}
}
Expand All @@ -33,5 +33,5 @@ request(
console.error('Failed to write backers file: ', err);
} else console.log('Fetched 1 file: backers.json');
});
},
}
);

0 comments on commit b21a36e

Please sign in to comment.