From 0f3e090418771e951dfd15e5c193421f72cbe459 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 25 Aug 2023 01:29:29 +0200 Subject: [PATCH] fix: do not delete output file This fixes the output file to be deleted when the option `--purge` was used. --- src/main/kotlin/app/revanced/cli/command/PatchCommand.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt index 1df5d81..2c049c4 100644 --- a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt @@ -204,7 +204,6 @@ internal object PatchCommand : Runnable { if (purge) { logger.info("Purging temporary files") - outputFilePath.delete() purge(resourceCachePath) }