Skip to content

Replace unlink calls with rm #184

@Sebastian-Webster

Description

@Sebastian-Webster

When calling unlink to delete files, if the file does not exist an ENOENT error is thrown. That generates more errors in the logs and is not needed. Instead, we can use fs.rm with force set to true so errors are not thrown when the file we are trying to delete does not exist.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions