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

walkForTsConfig() needs error handling #258

Open
stentibbing opened this issue Nov 27, 2023 · 0 comments
Open

walkForTsConfig() needs error handling #258

stentibbing opened this issue Nov 27, 2023 · 0 comments

Comments

@stentibbing
Copy link

The walkForTsConfig function keeps running recursively trying to find config file by entering parent directory on each recursion. If the parent directory is not readable (due to hosting service in my case), fatal Error: EACCES: permission denied, scandir is thrown. Incase directory is not readable, it should treat it as config not found instead of dying.

@stentibbing stentibbing changed the title walkForTsConfig needs error handling walkForTsConfig() needs error handling Nov 28, 2023
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

No branches or pull requests

1 participant