mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
Provide default value for ignoreFailures (#1787)
* Use Property's setter instead of using an extra one * ignoreFailures isn't Optional It must always have a value. * Remove explicit setting for ignoreFailures
This commit is contained in:
committed by
Artur Bosch
parent
b50afd0ea2
commit
a84f1a30d7
@@ -321,7 +321,6 @@ val detektFormat by tasks.registering(Detekt::class) {
|
||||
buildUponDefaultConfig = true
|
||||
autoCorrect = true
|
||||
setSource(files(projectDir))
|
||||
ignoreFailures = false
|
||||
include("**/*.kt")
|
||||
include("**/*.kts")
|
||||
exclude("**/resources/**")
|
||||
@@ -340,7 +339,6 @@ val detektAll by tasks.registering(Detekt::class) {
|
||||
buildUponDefaultConfig = true
|
||||
setSource(files(projectDir))
|
||||
config = files(project.rootDir.resolve("reports/failfast.yml"))
|
||||
ignoreFailures = false
|
||||
include("**/*.kt")
|
||||
include("**/*.kts")
|
||||
exclude("**/resources/**")
|
||||
|
||||
Reference in New Issue
Block a user