Skip to content

🐛 Bug: Transition mode clobbers existing README.md content after badges if there is no Usage h2 #2140

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

Following #2127 -> #2128, running npx create-typescript-app in an existing repo shouldn't remove any content between badges and ## Usage.

Actual

https://github.com/JoshuaKGoldberg/prune-github-notifications/pull/201/files#r2028676849 shows sections being removed. Again. Ugh.

Additional Info

🎁

Metadata

Metadata

Labels

status: accepting prsPlease, send a pull request to resolve this!type: bugSomething isn't working :(

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions