We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes process.cwd() returns path with a small drive letter, like d:\
process.cwd()
d:\
And this regex !/^[A-Z]:\\$/.test(cwdDrive) is failed to match it.
!/^[A-Z]:\\$/.test(cwdDrive)
Possible solution is to use this regex !/^[A-Za-z]:\\$/.test(cwdDrive)
!/^[A-Za-z]:\\$/.test(cwdDrive)
postcss-modules/src/css-loader-core/loader.js
Line 49 in 55b0995
The text was updated successfully, but these errors were encountered:
ref: VSCode normalizes the drive letter case: https://github.com/microsoft/vscode/blob/main/src/vs/platform/terminal/common/terminalEnvironment.ts#L51
Sorry, something went wrong.
7bb6d2d
No branches or pull requests
Sometimes
process.cwd()
returns path with a small drive letter, liked:\
And this regex
!/^[A-Z]:\\$/.test(cwdDrive)
is failed to match it.Possible solution is to use this regex
!/^[A-Za-z]:\\$/.test(cwdDrive)
postcss-modules/src/css-loader-core/loader.js
Line 49 in 55b0995
The text was updated successfully, but these errors were encountered: