Skip to content

fs: fix ENOENT on file deletion

Rodrigo Muino Tomonari requested to merge github/fork/RedYetiDev/patch-11 into main

Fixes #49995 (closed)

Wraps the statSync call in a try { ... } catch { ... } block; if the failure is ENOENT, it treats the file as deleted.

Merge request reports

Loading