Skip JJ-INSTRUCTIONS detection if directory#68
Conversation
The JJ-INSTRUCTIONS file is documented to be a file, so ignore directories with matching names. The context for this is that we use a FUSE workspace manager for development. I can't share all the details, but basically the FUSE mount automagically generates workspace directories like: .../mount/workspace1 .../mount/workspace2 .../mount/JJ-INSTRUCTIONS While this use case is a bit specific, I don't see any harm tightening the check here in majutsu.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Walkthrough
ChangesDiffedit root regular-file predicate
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
The JJ-INSTRUCTIONS file is documented to be a file, so ignore directories with matching names.
The context for this is that we use a FUSE workspace manager for development. I can't share all the details, but basically the FUSE mount automagically generates workspace directories like:
.../mount/workspace1
.../mount/workspace2
.../mount/JJ-INSTRUCTIONS
While this use case is a bit specific, I don't see any harm tightening the check here in majutsu.
Summary by CodeRabbit
JJ-INSTRUCTIONSis a regular file, preventing incorrect root detection when a directory with the same name exists.