Skip to content

walkForTsConfig() needs error handling #258

@stentibbing

Description

@stentibbing

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions