Reputation: 4502
I'm trying to delete a dir recursively which contains files. However, I'm getting error message although the directory exists:
uncaughtError: Unable to remove directory './screenshots/build'
fs.removeDirectory('./screenshots/build');
Upvotes: 1
Views: 135