From 135a214c1b23c4aca5aa21fb1ea5f6caa63d215e Mon Sep 17 00:00:00 2001 From: Bryant Date: Fri, 25 Sep 2020 11:53:17 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-40472=20=E5=A4=87=E4=BB=BD=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E5=86=85=E6=AE=8B=E5=AD=98=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E6=B2=A1=E6=9C=89=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/update/utils/FileUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/designer-base/src/main/java/com/fr/design/update/utils/FileUtils.java b/designer-base/src/main/java/com/fr/design/update/utils/FileUtils.java index db12d2fcd6..0dea603c54 100644 --- a/designer-base/src/main/java/com/fr/design/update/utils/FileUtils.java +++ b/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); } } }