Fix compilation of Gradle JS task

This commit is contained in:
Alexey Andreev
2017-10-03 14:50:24 +03:00
parent 21e91c4052
commit 10f7f61991
@@ -457,7 +457,7 @@ open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArguments>(),
args.friendModules = friendDependency
args.sourceMapSourceRoots = source.orEmpty()
args.sourceMapBaseDirs = source.orEmpty()
.asSequence()
.filterIsInstance<SourceDirectorySet>()
.flatMap { it.srcDirs.asSequence() }