Browse Source

REPORT-40472 备份文件夹内残存文件夹没有清理

feature/big-screen
Bryant 4 years ago
parent
commit
135a214c1b
  1. 2
      designer-base/src/main/java/com/fr/design/update/utils/FileUtils.java

2
designer-base/src/main/java/com/fr/design/update/utils/FileUtils.java

@ -29,6 +29,8 @@ public class FileUtils {
for (File file : versionBackup) {
if (file.isDirectory() && file.length() > 0) {
versions.add(file.getName());
} else {
StableUtils.deleteFile(file);
}
}
}

Loading…
Cancel
Save