From the docs:
entry.delete()
Removes this entry from the file system. If the entry is a folder, all the contents will also be removed
My code:
try{
await entry.delete();
}catch(e){
console.log(e);
}
Error:
[Error: Delete on non-empty folder not allowed]
I’m trying to delete a non empty folder according to the docs, but seems that you can’t.