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

Fix to catch error in expandInputFiles #751

Closed
wants to merge 1 commit into from

Conversation

timsawyer
Copy link
Contributor

If there exists a symlinked file in the directories that typedoc is running over, the expandInputFiles function fails due to fs.statSync() throwing the error "file does not exist."

This PR wraps fs.statSync in a try/catch block to catch this error.

See this post for more explanation:
https://stackoverflow.com/a/33401005

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

1 participant