Skip to content

Commit

Permalink
fixup! tools: update ESLint to 7.0.0-alpha.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed Apr 1, 2020
1 parent 075699b commit a40a615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/eslint-rules/crypto-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = function(context) {
if (missingCheckNodes.length > 0) {
requireNodes.forEach((requireNode) => {
const beforeAllChecks = missingCheckNodes.every((checkNode) => {
return requireNode.start < checkNode.start;
return requireNode.range[0] < checkNode.range[0];
});

if (beforeAllChecks) {
Expand Down

0 comments on commit a40a615

Please sign in to comment.