Skip to content

Commit 584e2ba

Browse files
authored
chore(javascript): run lerna exec with double-dash to pass dashed flags to the spanwed command (#391)
1 parent 0a4b95e commit 584e2ba

File tree

1 file changed

+1
-1
lines changed
  • clients/algoliasearch-client-javascript/scripts

1 file changed

+1
-1
lines changed

clients/algoliasearch-client-javascript/scripts/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function publish(): Promise<void> {
2424
const tag = semver.prerelease(version)?.[0];
2525

2626
await execa.command(
27-
`lerna exec --no-bail npm publish --access public ${
27+
`lerna exec --no-bail -- npm publish --access public ${
2828
tag ? `--tag ${tag}` : ''
2929
}`,
3030
{

0 commit comments

Comments
 (0)