diff --git a/npm-publish-gradle-plugin/src/main/kotlin/task/NpmPublishTask.kt b/npm-publish-gradle-plugin/src/main/kotlin/task/NpmPublishTask.kt index c54974ca..abe09f23 100644 --- a/npm-publish-gradle-plugin/src/main/kotlin/task/NpmPublishTask.kt +++ b/npm-publish-gradle-plugin/src/main/kotlin/task/NpmPublishTask.kt @@ -93,7 +93,7 @@ public abstract class NpmPublishTask : NpmExecTask() { if (reg.password.isPresent) { val password = reg.password.get() val encoded = Base64.getEncoder().encodeToString(password.toByteArray(Charsets.UTF_8)) - add("--//$repo:_password=${encoded}") + add("--//$repo:_password=$encoded") } if (d) add("--dry-run") if (tag.isPresent) add("--tag=${tag.get()}")