Skip to content

Commit

Permalink
fix: remove excludePatches check
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 10, 2022
1 parent 125fa06 commit eb83cab
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 @@ -25,7 +25,7 @@ fun Patcher.addPatchesFiltered() {

val args = MainCommand.args.sArgs?.pArgs!!

if (excludePatches && args.excludedPatches.contains(patchName)) {
if (args.excludedPatches.contains(patchName)) {
logger.info("$prefix: Explicitely excluded")
return@patch
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
Expand Down

0 comments on commit eb83cab

Please sign in to comment.