panamax
panamax copied to clipboard
Delete empty directories in dist
As a mirror lives, it rotates through different stable, beta, and nightly versions. It will also remove old versions, if that setting is enabled. Unfortunately, when it removes those old versions, it doesn't remove the directory itself.
Make the clean_old_files code delete the date directories in dist/
if empty.