🐛 Bug: Existing description and badges not detected #751
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Milestone
Bug Report Checklist
main
branch of the repository.Expected
When migrating an existing repository, if the README.md already contains centered paragraphs for description and/or badges, they shouldn't be replaced.
Actual
I tried migrating a package that already had them and they were duplicated:
Additional Info
Discovered on https://github.com/JoshuaKGoldberg/all-contributors-auto-action/tree/1ce7a4d2df5fd69765b7d407654847fde9e30340:
git clone https://github.com/JoshuaKGoldberg/all-contributors-auto-action cd all-contributors-auto-action git checkout 1ce7a4d2df5fd69765b7d407654847fde9e30340 pnpm i npx create-typescript-app --base everything --mode migrate
It might be the case that this only happens if there's a change to
--description
or some other data.The text was updated successfully, but these errors were encountered: