Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non Existing CWD Causes Confusing Error Message #83

Open
Aidan63 opened this issue Apr 6, 2024 · 0 comments
Open

Non Existing CWD Causes Confusing Error Message #83

Aidan63 opened this issue Apr 6, 2024 · 0 comments
Labels

Comments

@Aidan63
Copy link
Owner

Aidan63 commented Apr 6, 2024

nodejs/node#11520

Much like the user in that issue I started questioning my sanity when I started to receive "file not found" errors when writing tests against a program which definitely existing. Turns out it was a bug in my FilePath implementation which resulted in a non-existing cwd path.
The reasons in that issue for not just checking if the file existing seem reasonable so we might want to add to the doc comment that this error will be returned if the specified cwd doesn't existing either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant