Repository navigation
fix: Native CLI setup avoids duplicate PATH entries - #1621
Conversation
Compare existing PATH entries by normalized path identity before prepending the native CLI directory. This prevents trailing separators from preserving a duplicate current-process PATH entry while retaining the original text of unrelated entries.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PATH comparison logic in ChangesPATH deduplication fix
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
No issues found across 2 files
You’re at about 90% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Summary
User Impact
Root Cause
BuildPathWithInstallDirectorycompared raw PATH entry text while removal and ownership checks compared normalized path identities.Changes
TDD Verification
NativeCliInstallerTests: 33 passed