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');
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');