fix: failing bild

This commit is contained in:
Canny 2022-10-07 14:14:54 +03:00 committed by GitHub
parent 2959821a96
commit 05ddbd90da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ class PatcherWorker(context: Context, parameters: WorkerParameters, private val
Logging.log += "Applying ${patches.size} patch(es)" Logging.log += "Applying ${patches.size} patch(es)"
patcher.executePatches().forEach { (patch, result) -> patcher.executePatches().forEach { (patch, result) ->
if (result.isFaliure) { if (result.isFailure) {
Logging.log += "Failed to apply $patch \n" + result.exceptionOrNull()!!.message Logging.log += "Failed to apply $patch \n" + result.exceptionOrNull()!!.message
return@forEach return@forEach
} }