Closed OmgImAlexis closed 4 years ago
I am on it. Thanks for reporting.
With that fix what happens if only one sub directory has a permission error but all others are fine?
It will reject, bailing out of the function. Should it simply skip over that directory? How will errors be handled then? We have two options:
reject
the promise with those errors and the results.
Permission errors don't seem to be handled.
Changing the affected line to this.
I get the following.