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

Fixed bug when working on network-path files on windows (ENOTSUP) #4

Conversation

rocketmonkeys
Copy link
Contributor

In windows, if you call readdir() on a file that's on a network share, you get ENOTSUP instead of ENOTDIR. Updated the error handling to support this, or it causes weird bugs with npm install/cache/etc.

EDIT: Fixes #5

@isaacs
Copy link
Owner

isaacs commented Sep 16, 2018

Landed on 03eb97e, published in 1.1.1. Thanks!

@isaacs isaacs closed this Sep 16, 2018
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.

2 participants