File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
core/src/main/kotlin/com/tschuchort/compiletesting Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import org.jetbrains.kotlin.cli.common.arguments.K2JSCompilerArguments
44import org.jetbrains.kotlin.cli.js.K2JSCompiler
55import java.io.*
66import java.nio.file.Paths
7+ import kotlin.io.path.absolute
8+ import kotlin.io.path.absolutePathString
79import 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
You can’t perform that action at this time.
0 commit comments