Skip to content

Commit f662690

Browse files
committed
more checks
1 parent 429a660 commit f662690

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/src/main/kotlin/com/tschuchort/compiletesting/AbstractKotlinCompilation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ abstract class AbstractKotlinCompilation<A : CommonCompilerArguments> internal c
3737
var workingDir: File by default {
3838
val path = Files.createTempDirectory("Kotlin-Compilation")
3939
log("Created temporary working directory at ${path.toAbsolutePath()}")
40-
return@default path.toFile()
40+
return@default path.toAbsolutePath().toFile()
4141
}
4242

4343
/**

core/src/main/kotlin/com/tschuchort/compiletesting/Utils.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ internal fun isJdk9OrLater(): Boolean
3333
internal fun File.listFilesRecursively(): List<File> {
3434
return (listFiles() ?: throw RuntimeException("listFiles() was null. File is not a directory or I/O error occured"))
3535
.flatMap { file ->
36+
println("Recursive file checking found ${file.path}")
3637
if(file.isDirectory)
3738
file.listFilesRecursively()
3839
else

0 commit comments

Comments
 (0)