Once this change is merged: isaacs/node-graceful-fs#221, stop throwing errors in below places:
|
this.fs.statSync(filename); |
|
isDir = this.fs.statSync(dir).isDirectory(); |
Since we expect this can be null, we skip a lot of overhead in creating these errors. Skipping these errors is over a 3x speedup for these calls
nodejs/node#33716