Skip to content

Conversation

@tschaub
Copy link
Owner

@tschaub tschaub commented Oct 31, 2024

Node's fs.exists() never throws. And the fs.existsSync() is called with false on any errors.

Fixes #400.

@tschaub tschaub merged commit 533ff93 into main Oct 31, 2024
12 checks passed
@tschaub tschaub deleted the exists branch October 31, 2024 01:42
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

Successfully merging this pull request may close these issues.

fs.existsSync mock incorrectly throws ENOTDIR when the real fs.existsSync returns false

2 participants