Closed DavidAnson closed 3 years ago
Some scenarios may not permit/allow/support synchronous file system calls, so callers will use globby's asynchronous API. However, dir-glob.sync is called by that API and that calls pathType.isDirectorySync which calls fs.statSync, thereby compromising the user's scenario.
Thanks!!
Some scenarios may not permit/allow/support synchronous file system calls, so callers will use globby's asynchronous API. However, dir-glob.sync is called by that API and that calls pathType.isDirectorySync which calls fs.statSync, thereby compromising the user's scenario.