Skip to content

Commit

Permalink
Change CheckList.getChecks -> CheckList.checks
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed May 20, 2019
1 parent 1551ca6 commit a2039fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/br/com/felipezorzo/zpa/cli/Main.kt
Expand Up @@ -67,7 +67,7 @@ class Main : CliktCommand(name = "zpa-cli") {
PlSqlVisitorContext(file, e, metadata)
}

val defaultChecks = CheckList.getChecks()
val defaultChecks = CheckList.checks
.map { it.getConstructor().newInstance() as PlSqlCheck }
.filter { metadata != null || it !is FormsMetadataAwareCheck }
.toTypedArray()
Expand Down

0 comments on commit a2039fc

Please sign in to comment.