Skip to content

Conversation

@DanielDerefaka
Copy link

Summary

Remove the duplicate -- separator in the Docusaurus create-cloudflare CLI command.

Changes

The PackageManagers component args had an extra -- that would cause the generated command to be invalid:

Before:

npm create cloudflare@latest my-docusaurus-app -- --framework=docusaurus --platform=workers

After:

npm create cloudflare@latest my-docusaurus-app --framework=docusaurus --platform=workers

Related Issue

Fixes #27130

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=101010297

The create-cloudflare CLI command had a duplicate `--` separator which
would cause the command to fail or behave unexpectedly.

Before: my-docusaurus-app -- --framework=docusaurus --platform=workers
After:  my-docusaurus-app --framework=docusaurus --platform=workers

Fixes cloudflare#27130

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=101010297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docusaurus page has double --

8 participants