Skip to content

🐛 Bug: Prioritize existing author email over running npm user's #2093

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

Running npx create-typescript-app on a repo should not change the package.json file's author.email if it exists.

Actual

https://github.com/JoshuaKGoldberg/package-json-validator/pull/178/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R16 shows that the opposite preference order is used. My npm email was used instead of the existing one.

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