This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
馃悰 On windows, glob pattern not working through package.json script (npm run command) #4186
Closed
1 task done
Labels
S-To triage
Status: user report of a possible bug that needs to be triaged
Environment information
What happened?
package.json file
Running
npx rome check cartridges/**/cartridge/client/**/js/
works flawlessly on both platforms - Mac and Windows.But when running
npm run lint:js
it is working on Mac but not on the windows machine, throwing the following error:- The filename, directory name, or volume label syntax is incorrect. (os error 123)
The issue only happens when using the glob pattern, it works if used as follows:
Expected result
The behavior should be consistent across the different platforms. Running the
npm run command
with the glob pattern should work on windows as well.Thanks
Code of Conduct
The text was updated successfully, but these errors were encountered: