Skip to content

Commit 3d448c2

Browse files
committed
Fix publish not working with Yarn
Fixes #698
1 parent 12fce88 commit 3d448c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/npm/publish.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ export const getPackagePublishArguments = options => {
2626

2727
const pkgPublish = (pkgManager, options) => execa(pkgManager, getPackagePublishArguments(options));
2828

29-
const publish = (context, pkgManager, task, options) => {
29+
const publish = (context, pkgManager, task, options) =>
3030
from(pkgPublish(pkgManager, options)).pipe(
3131
catchError(error => handleNpmError(error, task, otp => {
3232
context.otp = otp;
3333

3434
return pkgPublish(pkgManager, {...options, otp});
3535
})),
3636
);
37-
};
3837

3938
export default publish;

0 commit comments

Comments
 (0)