Skip to content

Commit

Permalink
fix: print instruction index of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed Apr 14, 2022
1 parent e5a609f commit 9e29aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/kotlin/app/revanced/patches/SignatureChecker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal class SignatureChecker {
for (i in (warning.actualIndex - 5).coerceAtLeast(0) until warning.actualIndex) {
println("$i: ${instructions[i].opcode}")
}
println(warning.toString())
println("${warning.actualIndex}: $warning")
for (i in warning.actualIndex + 1 until (warning.actualIndex + 5).coerceAtMost(instructions.size)) {
println("$i: ${instructions[i].opcode}")
}
Expand Down

0 comments on commit 9e29aee

Please sign in to comment.