mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-11-13 23:29:23 +01:00
fix: broken deprecation message
This commit is contained in:
parent
de1bdb708c
commit
e3e74ac0e9
@ -35,7 +35,8 @@ fun Patcher.addPatchesFiltered() {
|
||||
}
|
||||
|
||||
patch.deprecated?.let { (reason, replacement) ->
|
||||
logger.warn("$prefix: deprecated: '$reason'" + if (replacement != null) ". Use '$replacement' instead." else "")
|
||||
logger.warn("$prefix: deprecated: $reason")
|
||||
if (replacement != null) logger.warn("Either use ${replacement.java.patchName} instead or include it manually")
|
||||
return@patch
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user