Skip to content

Commit

Permalink
fix: null exception when resource patching is disabled (ReVanced#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
bogadana authored Jul 10, 2022
1 parent 131100e commit 125fa06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/cli/patcher/Patcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal object Patcher {
}
}

outputFileSystem.uncompress(*result.doNotCompress!!.toTypedArray())
result.doNotCompress?.let { outputFileSystem.uncompress(*it.toTypedArray()) }
}
}
}

0 comments on commit 125fa06

Please sign in to comment.