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

Change the default behaviour which ignores folders with leading underscore #1712

Open
75lb opened this issue Oct 16, 2019 · 0 comments
Open

Comments

@75lb
Copy link

75lb commented Oct 16, 2019

As part of an automated process, jsdoc-api writes source code to the system tmp folder (returned by os.tmpdir()) then parses it using jsdoc -X.

However, some users are reporting that jsdoc-api randomly fails with There are no input files to process yet a reboot of the machine fixes it.

It's because the system temp folder path occasionally features a leading underscore, e.g.

/var/folders/_9/nl_3vwh14lx9325r9cn6s08s96pd8g/T/

If there is a leading underscore in any part of the working directory tree, jsdoc fails. Could this default behaviour be reconsidered please? It leads to confusing, intermittent bugs.

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