Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 125fa06

Browse files
authored
fix: null exception when resource patching is disabled (ReVanced#85)
1 parent 131100e commit 125fa06

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/app/revanced/cli/patcher

1 file changed

+1
-1
lines changed

src/main/kotlin/app/revanced/cli/patcher/Patcher.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ internal object Patcher {
4242
}
4343
}
4444

45-
outputFileSystem.uncompress(*result.doNotCompress!!.toTypedArray())
45+
result.doNotCompress?.let { outputFileSystem.uncompress(*it.toTypedArray()) }
4646
}
4747
}
4848
}

0 commit comments

Comments
 (0)