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

Fix folder symbolic link traversing in Windows #82

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thgreasi
Copy link
Contributor

@thgreasi thgreasi commented Dec 14, 2021

// Ignore unusual errors while reading directories.
// Avoids EPERM scandir errors in Windows.
// See: https://github.com/isaacs/node-glob/issues/284
strict: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could in theory mask errors that a developer might wish to be warned about (e.g. actual permission errors), however presumably such errors would also affect the functioning of the application or the CI builds/tests and should be caught by testing rather than linting, so I think it is a fair enough workaround to a node-glob issue. 👍

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