Skip to content

Commit

Permalink
Some bug with license report plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Nov 11, 2024
1 parent 31cce02 commit 3ae4d40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ spotless {
tasks.named("check") { dependsOn("checkLicense") }

licenseReport {
renderers = arrayOf(com.github.jk1.license.render.CsvReportRenderer())
renderers =
arrayOf<com.github.jk1.license.render.ReportRenderer>(
com.github.jk1.license.render.CsvReportRenderer())

excludeBoms = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ internal constructor(
dockerClient.inspectContainerCmd(containerId).exec()
}
.state
.running
?: false
.running ?: false
}

fun getMappedPort(port: Int): Int? {
Expand Down
3 changes: 1 addition & 2 deletions src/main/kotlin/dev/restate/sdktesting/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ Run test suite, executing the service as container.
val cliOptionFilter =
filter?.testName?.let {
listOf(ClassNameFilter.includeClassNamePatterns(testClassNameToFQCN(it)))
}
?: emptyList<Filter<*>>()
} ?: emptyList<Filter<*>>()

val report =
testSuite.runTests(
Expand Down

0 comments on commit 3ae4d40

Please sign in to comment.