You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(init): preserve existing README.md / CHANGELOG.md on re-run
The README and CHANGELOG generation steps used Move-Item -Force, which
silently overwrites the destination. The top-of-script "already
initialized" check is just a warning the user can dismiss, so a re-run
after customization (e.g., user re-runs init to redo something, or
template files reappear via git checkout) could clobber their work.
Guard each move on the destination not existing. If both source and
destination are present, warn and leave both in place — manual
resolution is safer than picking a side automatically.
Addresses CodeRabbit feedback on PR #16.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments