mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-11-18 17:49:23 +01:00
fix: defaultExclude
unused
This commit is contained in:
parent
99f123d1ca
commit
2015c2a1dc
@ -28,8 +28,8 @@ fun Patcher.addPatchesFiltered() {
|
||||
if (args.excludedPatches.contains(patchName)) {
|
||||
logger.info("$prefix: Explicitely excluded")
|
||||
return@patch
|
||||
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
|
||||
logger.info("$prefix: Not explicitely included")
|
||||
} else if ((!patch.include || args.defaultExclude) && !args.includedPatches.contains(patchName)) {
|
||||
logger.info("$prefix: Not explicitly included")
|
||||
return@patch
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user