Skip to content

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

Open
@75lb

Description

@75lb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions