- Add a file in a new folder on a project.
- Delete that folder.
- Export the project.
- The project has an empty folder in the export.
This is because when the backend removes the last file from a directory it does not delete the directory with it. It can be solved by running the following command in the console.
find . -type d -empty -delete