mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-25 03:25:48 +01:00
feat: better output for excluded patches (#77)
This commit is contained in:
parent
cd3ded1fbd
commit
ac7c7a9a1a
@ -28,10 +28,10 @@ fun Patcher.addPatchesFiltered(
|
|||||||
val args = MainCommand.args.pArgs!!
|
val args = MainCommand.args.pArgs!!
|
||||||
|
|
||||||
if (excludePatches && args.excludedPatches.contains(patchName)) {
|
if (excludePatches && args.excludedPatches.contains(patchName)) {
|
||||||
logger.info("$prefix: Explicitly excluded")
|
logger.info("$prefix: Explicitely excluded")
|
||||||
return@patch
|
return@patch
|
||||||
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
|
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
|
||||||
logger.info("$prefix: Explicitly excluded")
|
logger.info("$prefix: Not explicitely included")
|
||||||
return@patch
|
return@patch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user