- try {
- await access(location, constants.F_OK);
- await rm(location, { recursive: true });
+ try {
+ await access(location, constants.F_OK);
+ await rm(location, { recursive: true });
+ }
+ catch (error) {
+ if (error.code === kFileNotFoundError) {
+ return;