From c20dad7a5eb9da6d57e347280eb1b036a7c1a215 Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 2 Apr 2020 19:12:19 +0100 Subject: [PATCH] Fix DeobfuscateAstCommand class name Signed-off-by: Graham --- all/src/main/java/dev/openrs2/Command.kt | 4 ++-- .../main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all/src/main/java/dev/openrs2/Command.kt b/all/src/main/java/dev/openrs2/Command.kt index 7670b8a17c..8ec02531fd 100644 --- a/all/src/main/java/dev/openrs2/Command.kt +++ b/all/src/main/java/dev/openrs2/Command.kt @@ -7,7 +7,7 @@ import dev.openrs2.compress.cli.CompressCommand import dev.openrs2.crc32.Crc32Command import dev.openrs2.decompiler.DecompileCommand import dev.openrs2.deob.DeobfuscateCommand -import dev.openrs2.deob.ast.AstDeobfuscateCommand +import dev.openrs2.deob.ast.DeobfuscateAstCommand import dev.openrs2.game.GameCommand fun main(args: Array) = Command().subcommands( @@ -16,7 +16,7 @@ fun main(args: Array) = Command().subcommands( Crc32Command(), DecompileCommand(), DeobfuscateCommand(), - AstDeobfuscateCommand(), + DeobfuscateAstCommand(), GameCommand() ).main(args) diff --git a/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt b/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt index 91119f0ad1..abacdc761d 100644 --- a/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt +++ b/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt @@ -3,9 +3,9 @@ package dev.openrs2.deob.ast import com.github.ajalt.clikt.core.CliktCommand import java.nio.file.Paths -fun main(args: Array) = AstDeobfuscateCommand().main(args) +fun main(args: Array) = DeobfuscateAstCommand().main(args) -class AstDeobfuscateCommand : CliktCommand(name = "deob-ast") { +class DeobfuscateAstCommand : CliktCommand(name = "deob-ast") { override fun run() { val deobfuscator = AstDeobfuscator( listOf(