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

Commitcec8078

Browse files
Drapegnikgr2m
authored andcommitted
fix: get tarball name as last line from stdout
1 parent9383a98 commitcec8078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/publish.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = async ({npmPublish, tarballDir, pkgRoot}, {publishConfig, name}
1111

1212
if(tarballDir){
1313
logger.log('Creating npm package version %s',version);
14-
consttarball=awaitexeca.stdout('npm',['pack',`./${basePath}`]);
14+
consttarball=(awaitexeca.stdout('npm',['pack',`./${basePath}`])).split('\n').pop();
1515
awaitmove(tarball,path.join(tarballDir.trim(),tarball));
1616
}
1717

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp