We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9383a98 commit cec8078Copy full SHA for cec8078
lib/publish.js
@@ -11,7 +11,7 @@ module.exports = async ({npmPublish, tarballDir, pkgRoot}, {publishConfig, name}
11
12
if (tarballDir) {
13
logger.log('Creating npm package version %s', version);
14
- const tarball = await execa.stdout('npm', ['pack', `./${basePath}`]);
+ const tarball = (await execa.stdout('npm', ['pack', `./${basePath}`])).split('\n').pop();
15
await move(tarball, path.join(tarballDir.trim(), tarball));
16
}
17
0 commit comments