diff --git a/src/main/kotlin/task/NpmPublishTask.kt b/src/main/kotlin/task/NpmPublishTask.kt index 87db1d14..b7d37a32 100644 --- a/src/main/kotlin/task/NpmPublishTask.kt +++ b/src/main/kotlin/task/NpmPublishTask.kt @@ -75,6 +75,8 @@ open class NpmPublishTask @Inject constructor( if (otp != null) "--otp $otp" else null, if (dry) "--dry-run" else null ) - ) + ) { + workingDir = packageDir + } } }