Skip to content

Commit a40a615

Browse files
committed
fixup! tools: update ESLint to 7.0.0-alpha.3
1 parent 075699b commit a40a615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/eslint-rules/crypto-check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = function(context) {
7171
if (missingCheckNodes.length > 0) {
7272
requireNodes.forEach((requireNode) => {
7373
const beforeAllChecks = missingCheckNodes.every((checkNode) => {
74-
return requireNode.start < checkNode.start;
74+
return requireNode.range[0] < checkNode.range[0];
7575
});
7676

7777
if (beforeAllChecks) {

0 commit comments

Comments
 (0)