Skip to content

Commit b3b8d4b

Browse files
committed
chore: log npm config list
1 parent 182e118 commit b3b8d4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release/publish.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ export async function publish(options: {
4040
} else {
4141
execSync(
4242
"echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc",
43-
{ cwd: pkg.path, env: process.env }
43+
{ cwd: pkg.path }
4444
)
4545
}
4646

47-
execSync("npm whoami", { env: process.env })
47+
execSync("npm config list", { cwd: pkg.path })
4848

49-
execSync(npmPublish, { cwd: pkg.path, env: process.env })
49+
execSync(npmPublish, { cwd: pkg.path })
5050
}
5151

5252
if (dryRun) {

0 commit comments

Comments
 (0)