mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-01-08 10:15:49 +01:00
feat: improve missing compatibility annotation tracing log
This commit is contained in:
parent
512152fb66
commit
2c7eb7274c
@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List<Class<out Patch<Context>>>) {
|
|||||||
return@patchLoop
|
return@patchLoop
|
||||||
}
|
}
|
||||||
|
|
||||||
if (compatiblePackages == null) logger.trace("$prefix: Missing compatibility annotation. Continuing.")
|
if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.")
|
||||||
else {
|
else {
|
||||||
if (!compatiblePackages.any { it.name == packageName }) {
|
if (!compatiblePackages.any { it.name == packageName }) {
|
||||||
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${
|
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${
|
||||||
|
Loading…
Reference in New Issue
Block a user