You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a directory cannot be read due to permission issues, the async
version of fs.glob() returns null from readdir(), while the sync
version returns an empty array. This causes a TypeError when trying
to access the 'length' property of null.
PR-URL: #58674
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ethan-Arrowood <[email protected]>
Reviewed-By: Juan José <[email protected]>
0 commit comments