Skip to content

Conversation

@markcallen
Copy link
Owner

Summary

Fixed bug where .next directories were not being correctly detected in the dev-cache tool.

Changes

  • Fixed detection logic for Next.js .next cache directories

Testing

  • Verified that .next directories are now properly detected during scans

@markcallen markcallen requested a review from Copilot November 27, 2025 04:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where .next directories (Next.js cache directories) were not being correctly detected at depth 0 during directory scans. The fix ensures that cache directories are properly identified and reported even when they appear as direct children of the scan root, preventing them from being misclassified as project roots without language detection.

Key Changes:

  • Added early cache pattern matching to prevent cache directories from being treated as project roots
  • Moved pattern matching to occur before "no language found" fallback reporting
  • Consolidated "no language found" reporting logic to avoid duplicate findings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

markcallen and others added 2 commits November 26, 2025 20:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@markcallen markcallen requested a review from Copilot November 27, 2025 04:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@markcallen markcallen merged commit 1097832 into main Nov 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants