Skip to content

Commit 460622f

Browse files
committed
more logging
1 parent 9c3380b commit 460622f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import org.jetbrains.kotlin.cli.common.arguments.K2JSCompilerArguments
44
import org.jetbrains.kotlin.cli.js.K2JSCompiler
55
import java.io.*
66
import java.nio.file.Paths
7+
import kotlin.io.path.absolute
8+
import kotlin.io.path.absolutePathString
79
import kotlin.io.path.nameWithoutExtension
810

911
@Suppress("MemberVisibilityCanBePrivate")
@@ -78,7 +80,7 @@ class KotlinJsCompilation : AbstractKotlinCompilation<K2JSCompilerArguments>() {
7880
/**
7981
* Compiled class and resource files that are the final result of the compilation.
8082
*/
81-
val compiledClassAndResourceFiles: List<File> = outputDirectory.listFilesRecursively()
83+
val compiledClassAndResourceFiles: List<File> = outputDirectory.toPath().absolute().also { println("Checking compiledClassAndResourceFiles in: " + it.absolutePathString()) }.toFile().listFilesRecursively()
8284
}
8385

8486

0 commit comments

Comments
 (0)