Skip to content

Commit

Permalink
fix(release): npm publish error when file path contains spaces (#24750)
Browse files Browse the repository at this point in the history
## Current Behavior

## Expected Behavior

## Related Issue(s)

Fixes #24682
  • Loading branch information
dmcweeney committed May 23, 2024
1 parent 7705757 commit 261b0ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export default async function runExecutor(
}

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

if (options.otp) {
Expand Down

0 comments on commit 261b0ff

Please sign in to comment.