-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows - path case sensitivity #4644
Comments
Would you be able to send a PR with a fix (and tests)? |
I hope so. I think I have found it, but have to double check and also write tests.
|
(#4730) * Correct project directory path case on Windows * fixup! Add try-catch block with fallback * Make only_changed test pass on Windows * Add test * Update changelog * fixup! Simplify original writeFiles change * fixup! Ignore process.binding flow error * fixup! Use correct dir * fixup! Fix lint error
Hey, I face same issue on:
cmd.exe outputC:\Users\publi\js\js-problems>dir Volume in drive C is SYSTEM Volume Serial Number is 5D09-2D90
There is a little difference between two jest runs: first time the disk letter is lower-cased and second is upper-cased. |
I want to join the party with exactly same issue :)
Running |
This issue is closed, please open up a new issue with reproduction steps. Note than none on the team uses windows, so we'll have to rely on the community to come up with a fix here. We run CI on Windows, so any fixes including tests should make sure we don't regress |
I've created #8900 for this. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running
jest -o
andjest --watch
in the same directory, but with different lower/upper case letters in preceding path to the folder produces different outcomes.Correct full path is
D:\Projects\Temp\my-js-learning
Outcome:
(D:\Projects\Temp\My-js-learning)
(D:\ProjectS\Temp\my-js-learning)
(D:\Projects\temp\my-js-learning)
(D:\projects\Temp\my-js-learning)
Same issue on second Windows machine:
What is the expected behavior?
Preceding path should be case-insensitive on Windows.
Tested on two machines. Both in cmd and in powershell.
First:
Second:
The text was updated successfully, but these errors were encountered: