Skip to content

Commit 751fa1d

Browse files
committed
fix: Make patches selectable by using a mutable collection for the selection option
1 parent 3300e6b commit 751fa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/app/revanced/cli/command/PatchCommand.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal object PatchCommand : Runnable {
3030
private lateinit var spec: CommandSpec
3131

3232
@ArgGroup(multiplicity = "0..*")
33-
private var selection = emptySet<Selection>()
33+
private var selection = mutableSetOf<Selection>()
3434

3535
internal class Selection {
3636
@ArgGroup(exclusive = false, multiplicity = "1")

0 commit comments

Comments
 (0)