chore: cleanup code

This commit is contained in:
Lucaskyy 2022-06-21 19:30:24 +02:00
parent 1781612789
commit c272d55e2d
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
2 changed files with 4 additions and 3 deletions

View File

@ -11,10 +11,11 @@ import java.io.File
import java.nio.file.Files
@Command(
name = "ReVanced-CLI", version = ["1.0.0"], mixinStandardHelpOptions = true,
name = "ReVanced-CLI",
version = ["1.0.0"],
mixinStandardHelpOptions = true
)
internal object MainCommand : Runnable {
@ArgGroup(exclusive = false, multiplicity = "1")
lateinit var args: Args

View File

@ -10,7 +10,7 @@ import java.nio.file.Files
internal object Patcher {
internal fun start(patcher: app.revanced.patcher.Patcher, output: File) {
val args = args.pArgs!!
val args = args.pArgs!!
// merge files like necessary integrations
patcher.mergeFiles()