Skip to content

Commit 261b0ff

Browse files
authored
fix(release): npm publish error when file path contains spaces (#24750)
## Current Behavior ## Expected Behavior ## Related Issue(s) Fixes #24682
1 parent 7705757 commit 261b0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/js/src/executors/release-publish/release-publish.impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default async function runExecutor(
201201
}
202202

203203
const npmPublishCommandSegments = [
204-
`npm publish ${packageRoot} --json --"${registryConfigKey}=${registry}" --tag=${tag}`,
204+
`npm publish "${packageRoot}" --json --"${registryConfigKey}=${registry}" --tag=${tag}`,
205205
];
206206

207207
if (options.otp) {

0 commit comments

Comments
 (0)