-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
🐛 Bug: SyntaxError on description with regexp characters #803
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Milestone
Comments
JoshuaKGoldberg
added
type: bug
Something isn't working :(
status: accepting prs
Please, send a pull request to resolve this!
labels
Sep 5, 2023
3 tasks
Interestingly, I think there are two touch points that make this a nontrivial issue:
Edit: OH the CLI output for a rerun suggestion was corrupting the description too! 😂
|
Properly escaping
|
3 tasks
JoshuaKGoldberg
added a commit
that referenced
this issue
Sep 21, 2023
## PR Checklist - [x] Addresses an existing open issue: fixes #803 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Applies two tangentially related fixes: * The original description can be replaced with a plain string - it doesn't need a regular expression * The rerun suggestion for descriptions should escape `$`s
🎉 This is included in version v1.32.0 🎉 The release is available on: Cheers! 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
Setup scripts such as
--mode migrate
should be able to plop in descriptions with special characters like^
and$
.Actual
Additional Info
Discovered working on JoshuaKGoldberg/eslint-plugin-expect-type#70.
The text was updated successfully, but these errors were encountered: