feat: --include option (#76)

This commit is contained in:
bogadana
2022-07-03 15:49:25 +02:00
committed by GitHub
parent 585d77ce80
commit 57a1e7c27f
2 changed files with 4 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ fun Patcher.addPatchesFiltered(
if (excludePatches && args.excludedPatches.contains(patchName)) {
logger.info("$prefix: Explicitly excluded")
return@patch
} else if (!patch.include) {
} else if (!patch.include && !args.includedPatches.contains(patchName)) {
logger.info("$prefix: Explicitly excluded")
return@patch
}