Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b9688a

Browse files
committed
fix: uselogger instead of writing onstdout
1 parentf2e30c7 commit0b9688a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/publish.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ module.exports = async ({npmPublish, pkgRoot}, pkg, context) => {
1616
constregistry=getRegistry(pkg,context);
1717

1818
logger.log('Publishing version %s to npm registry',version);
19-
constshell=awaitexeca('npm',['publish',basePath,'--registry',registry],{cwd, env});
19+
awaitexeca('npm',['publish',basePath,'--registry',registry],{cwd, env});
2020

21-
logger.stdout(shell.stdout);
21+
logger.log(`Published${pkg.name}@${pkg.version} on${registry}`);
2222
returngetReleaseInfo(pkg,context,registry);
2323
}
2424
logger.log(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp