From 751fa1d889f40c51b291116029fd84f2b051f2f0 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 5 Sep 2024 23:08:18 +0400 Subject: [PATCH] fix: Make patches selectable by using a mutable collection for the selection option --- src/main/kotlin/app/revanced/cli/command/PatchCommand.kt | 2 +- 1 file changed, 1 insertion(+), 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 494a767a..08db7912 100644 --- a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt @@ -30,7 +30,7 @@ internal object PatchCommand : Runnable { private lateinit var spec: CommandSpec @ArgGroup(multiplicity = "0..*") - private var selection = emptySet() + private var selection = mutableSetOf() internal class Selection { @ArgGroup(exclusive = false, multiplicity = "1")