Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

fs.existsSync should not throw and catch an exception in the implementation #8731

@MetaMemoryT

Description

@MetaMemoryT

fs.execSync should be implemented in a manner that does not require throwing and catching an exception. Often while debugging a useful strategy is to break on all exceptions when searching for a problem. Having this function throw an exception just means more noise to wade through.

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