mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Reorder handleUninstallRepo to move repo to trash before removing the .gitignore entry, preventing accidental exposure of tracked content when trashing fails. ProjectGitignoreTarget now returns empty strings for source paths outside projectRoot, since parent-relative patterns (../) are invalid in .gitignore. All six callers guard on empty gitignoreDir and skip gitignore management for external sources.