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
The findAll function doesn't handle errors when fail to read a directory.
findAll
tsconfck/src/find-all.ts
Line 25 in 2b787ca
Found this from vitejs/vite#5765
npm init vite mkdir foo chmod 0 foo npm run dev
Vite initializes tsconfck in configResolved and calls findAll here:
configResolved
https://github.com/vitejs/vite/blob/cf59005a79dd7227f3ad63280761060ba224ce09/packages/vite/src/node/plugins/esbuild.ts#L296
System: OS: macOS 12.3.1 CPU: (8) arm64 Apple M1 Pro Memory: 498.75 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node Yarn: 1.22.15 - ~/.nvm/versions/node/v16.13.0/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.13.0/bin/npm Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman Browsers: Chrome: 99.0.4844.84 Firefox: 98.0.2 Safari: 15.4
The text was updated successfully, but these errors were encountered:
fix dominikg#51 on windows
01c052f
fix #51 on windows (#96)
760b84c
Successfully merging a pull request may close this issue.
Description
The
findAll
function doesn't handle errors when fail to read a directory.tsconfck/src/find-all.ts
Line 25 in 2b787ca
Reproduction
Found this from vitejs/vite#5765
Vite initializes tsconfck in
configResolved
and callsfindAll
here:https://github.com/vitejs/vite/blob/cf59005a79dd7227f3ad63280761060ba224ce09/packages/vite/src/node/plugins/esbuild.ts#L296
Additional Information
The text was updated successfully, but these errors were encountered: