From 1319ab76294215f153a8375d1072cc253932f0d7 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 17 Sep 2023 03:39:34 +0200 Subject: [PATCH] chore: Suppress unused methods warning --- .../src/main/kotlin/app/revanced/cli/command/PatchCommand.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/revanced-cli/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt b/revanced-cli/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt index 16d9bf0b..e71c9503 100644 --- a/revanced-cli/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt +++ b/revanced-cli/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt @@ -139,6 +139,7 @@ internal object PatchCommand : Runnable { @CommandLine.Option( names = ["-b", "--patch-bundle"], description = ["One or more bundles of patches"], required = true ) + @Suppress("unused") private fun setPatchBundles(patchBundles: Array) { patchBundles.firstOrNull { !it.exists() }?.let { throw CommandLine.ParameterException(spec.commandLine(), "Patch bundle ${it.name} does not exist") @@ -149,6 +150,7 @@ internal object PatchCommand : Runnable { @CommandLine.Option( names = ["--custom-aapt2-binary"], description = ["Path to a custom AAPT binary to compile resources with"] ) + @Suppress("unused") private fun setAaptBinaryPath(aaptBinaryPath: File) { if (!aaptBinaryPath.exists()) throw CommandLine.ParameterException( spec.commandLine(),