-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add quotes to wrangler init names containing whitespaces before delegating to C3 #4211
Conversation
🦋 Changeset detectedLatest commit: eb4256a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6558518402/npm-package-wrangler-4211 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6558518402/npm-package-wrangler-4211 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6558518402/npm-package-wrangler-4211 dev path/to/script.js Additional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6558518402/npm-package-cloudflare-pages-shared-4211 Note that these links will no longer work once the GitHub Actions artifact expires.
| Please ensure constraints are pinned, and |
Codecov Report
@@ Coverage Diff @@
## main #4211 +/- ##
==========================================
+ Coverage 75.37% 75.41% +0.03%
==========================================
Files 223 223
Lines 12217 12218 +1
Branches 3159 3160 +1
==========================================
+ Hits 9209 9214 +5
+ Misses 3008 3004 -4
|
Elsewhere in this monorepo @RamIdeas used |
We should indeed use In fact, this fix should only affect the logged command. Passing the name as an array (argv) element should be enough to escape the spaces. Adding quotes like in this PR, the logged command now looks correct but those quotes are going to be in the name arg when it gets to C3 I've just tried running |
As mentioned by @RamIdeas I think this change isn't really making a significant difference and that the issue needs to be investigated more in-depth, closing the PR, sorry about that 😅 |
fixes #3647