Skip to content

Commit

Permalink
corrected line due feedback update
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Feb 8, 2023
1 parent 92d3b79 commit 242dd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/security/func-visibility.js
Expand Up @@ -61,8 +61,8 @@ class FuncVisibilityChecker extends BaseChecker {
config && config.getObjectPropertyBoolean(ruleId, 'ignoreConstructors', false)
}

ContractDefinition(node) {
this.isContract = node.kind === 'contract'
ContractDefinition() {
this.isContract = true
}

'ContractDefinition:exit'() {
Expand Down

0 comments on commit 242dd06

Please sign in to comment.