Title: fs: fix glob TypeError on restricted dirs · nodejs/node@2990f17 · GitHub
Open Graph Title: fs: fix glob TypeError on restricted dirs · nodejs/node@2990f17
X Title: fs: fix glob TypeError on restricted dirs · nodejs/node@2990f17
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: 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 try...
X Description: 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 try...
Opengraph URL: /nodejs/node/commit/2990f178bd3a731f4b2ce3b656d04180526701c8
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:a14b5943-2643-aa96-e6d5-a65eb60bc387 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B556:C18A5:2835AB:3929E8:696A4229 |
| html-safe-nonce | d1ed6d23eee5bcbe08a740910aab461137b324615fcb89de566aadd9691b07f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTU2OkMxOEE1OjI4MzVBQjozOTI5RTg6Njk2QTQyMjkiLCJ2aXNpdG9yX2lkIjoiNjc3MDA0MjI3NDgyNjU2ODIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ab6f9eadb9adb7de7ca9a7bbf85d9b6a1fa1ea4bffa7b3de86c09c2e4bcceb02 |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/commit/2990f178bd |
| twitter:image | https://opengraph.githubassets.com/47f9c881ba951c724c2c08005b273b04c226b280cf34920cb78231513a7360b7/nodejs/node/commit/2990f178bd3a731f4b2ce3b656d04180526701c8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47f9c881ba951c724c2c08005b273b04c226b280cf34920cb78231513a7360b7/nodejs/node/commit/2990f178bd3a731f4b2ce3b656d04180526701c8 |
| og:image:alt | 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 try... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1755001198 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width