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

expandGlob: support an ignore permission denied option #6274

Open
lowlighter opened this issue Dec 17, 2024 · 0 comments
Open

expandGlob: support an ignore permission denied option #6274

lowlighter opened this issue Dec 17, 2024 · 0 comments

Comments

@lowlighter
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently if you encounter an error due to os permission, if make the whole walk stop.

error: Uncaught (in promise) PermissionDenied: Permission denied (os error 13): readdir '/snap/core20/2379/etc/ssl/private'
  for await (const entry of Deno.readDir(root)) {

An option to "skip" permission denied files would be nice

Describe the solution you'd like

A new option

Describe alternatives you've considered

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

No branches or pull requests

1 participant