We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi guys,
First of all thank you for your job, I currently am using your library and it's pretty powerfull.
I'm just wondering if there would be a way to handle permission errors with it ? (would be awesome)
Thanks for your reply,
Cheers !
The text was updated successfully, but these errors were encountered:
Hi! Glad it's useful! The code currently skips files without permission (https://github.com/mihneadb/node-directory-tree/blob/master/lib/directory-tree.js#L15). One option would be to add a callback like onError and leave the user to deal with that error. However, I'm wondering - how would you handle a permissions error?
onError
Sorry, something went wrong.
No branches or pull requests
Hi guys,
First of all thank you for your job, I currently am using your library and it's pretty powerfull.
I'm just wondering if there would be a way to handle permission errors with it ? (would be awesome)
Thanks for your reply,
Cheers !
The text was updated successfully, but these errors were encountered: