[Gradle, JS] Args should concat after input file

^KT-41286 fixed
This commit is contained in:
Ilya Goncharov
2020-09-01 14:23:38 +03:00
parent fdbc657656
commit 9f27bc62c0

View File

@@ -53,7 +53,10 @@ constructor(
override fun exec() {
if (inputFileProperty.isPresent) {
args(inputFileProperty.asFile.get())
val newArgs = mutableListOf<String>()
newArgs.add(inputFileProperty.asFile.get().canonicalPath)
args?.let { newArgs.addAll(it) }
args = newArgs
}
if (sourceMapStackTraces) {