From 2d7e7ba9b7484b5830b4da4718bdc19f916244b2 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Fri, 30 Dec 2022 23:53:36 +0100 Subject: [PATCH] Backup cleaner now fully works --- .../main/java/fr/pandacube/lib/core/backup/BackupCleaner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandalib-core/src/main/java/fr/pandacube/lib/core/backup/BackupCleaner.java b/pandalib-core/src/main/java/fr/pandacube/lib/core/backup/BackupCleaner.java index 3504a77..13a4cb9 100644 --- a/pandalib-core/src/main/java/fr/pandacube/lib/core/backup/BackupCleaner.java +++ b/pandalib-core/src/main/java/fr/pandacube/lib/core/backup/BackupCleaner.java @@ -18,7 +18,7 @@ import static fr.pandacube.lib.chat.ChatStatic.text; public abstract class BackupCleaner implements UnaryOperator> { - private static final boolean testOnly = true; // if true, no files are deleted + private static final boolean testOnly = false; // if true, no files are deleted public static BackupCleaner KEEPING_N_LAST(int n) { return new BackupCleaner() {