fix: CI test code not removed after ReVanced Patcher 21 migration

This commit is contained in:
inotia00 2024-12-22 16:44:37 +09:00
parent af9c718638
commit 2561fd2922

View File

@ -33,9 +33,7 @@ class ExtensionHook internal constructor(
private val insertIndexResolver: ((Method) -> Int),
private val contextRegisterResolver: (Method) -> String,
) {
context(BytecodePatchContext)
operator fun invoke(extensionClassDescriptor: String) {
if (System.getenv("GITHUB_REPOSITORY") == null) {
val insertIndex = insertIndexResolver(fingerprint.method)
val contextRegister = contextRegisterResolver(fingerprint.method)
@ -45,7 +43,6 @@ class ExtensionHook internal constructor(
"$extensionClassDescriptor->setContext(Landroid/content/Context;)V",
)
}
}
}
fun extensionHook(