Skip to content

Commit 73c0c8e

Browse files
authored
Fix NpmPublishTask workingDir scope (#16)
1 parent c78a8c3 commit 73c0c8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/task/NpmPublishTask.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ open class NpmPublishTask @Inject constructor(
7575
if (otp != null) "--otp $otp" else null,
7676
if (dry) "--dry-run" else null
7777
)
78-
)
78+
) {
79+
workingDir = packageDir
80+
}
7981
}
8082
}

0 commit comments

Comments
 (0)