Skip to content

Commit

Permalink
feat: improve missing compatibility annotation tracing log
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Dec 14, 2022
1 parent 512152f commit 2c7eb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/utils/patcher/Patcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List<Class<out Patch<Context>>>) {
return@patchLoop
}

if (compatiblePackages == null) logger.trace("$prefix: Missing compatibility annotation. Continuing.")
if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.")
else {
if (!compatiblePackages.any { it.name == packageName }) {
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${
Expand Down

0 comments on commit 2c7eb72

Please sign in to comment.