Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
romainguy committed Oct 14, 2024
1 parent 8ad5175 commit b7b0ede
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface Builder {
fun getInstance(outputDirectory: Path) =
try {
LocalBuilder(outputDirectory)
} catch (e: Throwable) {
} catch (_: Throwable) {
System.err.println("Failed to create local builder. Using Github builder")
GithubBuilder()
}
Expand Down Expand Up @@ -82,7 +82,7 @@ class LocalBuilder(private val outputDirectory: Path) : Builder {
}

private suspend fun kotlinCompile(path: Path) {
val result = kotlinCompiler.compile(kotlinOnlyConsumers, "", path)
val result = kotlinCompiler.compile(true, "", path)
if (result.exitCode != 0) {
System.err.println(result.output)
fail("kotlinc error")
Expand Down

0 comments on commit b7b0ede

Please sign in to comment.