Editorial question30K views3,089 votes0 answers1,689 following
AI-generatedInconsistent case handling in grunt.file.expand on case‑insensitive file systems
Goal: Clarify the expected behavior of grunt.file.expand when matching files whose names differ only in letter case on a case‑insensitive file system (e.g., Windows NTFS, macOS HFS+). Constraints: The function relies on Node.js fs.readdir which returns names as stored on disk, while the underlying minimatch library does not perform case folding. Consequently