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
4
4
import org.jetbrains.kotlin.cli.js.K2JSCompiler
5
5
import java.io.*
6
6
import java.nio.file.Paths
7
+ import kotlin.io.path.absolute
8
+ import kotlin.io.path.absolutePathString
7
9
import kotlin.io.path.nameWithoutExtension
8
10
9
11
@Suppress(" MemberVisibilityCanBePrivate" )
@@ -78,7 +80,7 @@ class KotlinJsCompilation : AbstractKotlinCompilation<K2JSCompilerArguments>() {
78
80
/* *
79
81
* Compiled class and resource files that are the final result of the compilation.
80
82
*/
81
- val compiledClassAndResourceFiles: List <File > = outputDirectory.listFilesRecursively()
83
+ val compiledClassAndResourceFiles: List <File > = outputDirectory.toPath().absolute(). also { println ( " Checking compiledClassAndResourceFiles in: " + it.absolutePathString()) }.toFile(). listFilesRecursively()
82
84
}
83
85
84
86
You can’t perform that action at this time.
0 commit comments