Skip to content
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

convert ProjectWorkspace rootPath to upper-case drive-letter in windows #720

Merged
merged 1 commit into from May 27, 2021

Conversation

connectdotz
Copy link
Collaborator

this ProjectWorkspace.rootPath is used by jest-editor-support Runner to spawn process as the "cwd". On windows, if the drive-letter is lowercase, jest process could fail under some configurations. To make it more fault-tolerant, we should convert it to uppercase.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 951

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.037%

Totals Coverage Status
Change from base Build 950: 0.0%
Covered Lines: 1949
Relevant Lines: 2037

💛 - Coveralls

@connectdotz connectdotz requested a review from stephtr May 26, 2021 16:32
@stephtr stephtr merged commit cb9f0a5 into jest-community:master May 27, 2021
@connectdotz connectdotz deleted the runner-cwd-path branch May 28, 2021 03:10
legend1202 pushed a commit to legend1202/vscode-jest that referenced this pull request Jun 18, 2023
convert ProjectWorkspace rootPath to upper-case drive-letter in windows
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.

None yet

3 participants