Skip to content

The option throwIfNoEntry is ignored for stat #781

@mausworks

Description

@mausworks

Since node v14.x you can pass in throwIfNoEntry with the options of stat or statSync and have it return undefined instead of throwing when a file does not exist. This is quite a useful feature, and I use it quite often.

This library does not support it however, so my production code is working fine, but my tests are failing.

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