Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit c017e4e

Browse files
author
Sergey Mashkov
committed
Fix unpacking maven dependencies with existing package.json
1 parent 5437351 commit c017e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/npm/UnpackGradleDependenciesTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ open class UnpackGradleDependenciesTask : DefaultTask() {
8585

8686
val existingVersion = existingPackageJson["version"]?.toString() ?: toSemver(null)
8787

88-
resultNames?.add(NameVersionsUri(name, artifact.moduleVersion.id.version, existingVersion, artifact.file.toLocalURI()))
88+
resultNames?.add(NameVersionsUri(name, artifact.moduleVersion.id.version, existingVersion, outDir.toLocalURI()))
8989
} else {
9090
val modules = getJsModuleNames(artifact.file)
9191
.takeIf { it.isNotEmpty() } ?: listOf(

0 commit comments

Comments
 (0)