Skip to content

Commit

Permalink
created needed directories before accessing them (#2156)
Browse files Browse the repository at this point in the history
Co-authored-by: MikhailSuendukov <[email protected]>
  • Loading branch information
AmyrAhmady and MikhailSuendukov authored Jan 18, 2024
1 parent ad6e88c commit 7a919e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/codepush.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ gradle.projectsEvaluated {
if (reactBundleTask) {
jsBundleDir = reactBundleTask.property('jsBundleDir').asFile.get()
resourcesDir = reactBundleTask.property('resourcesDir').asFile.get()

new File(jsBundleDir).mkdirs()
new File(resourcesDir).mkdirs()

jsBundleFile = file("$jsBundleDir/$bundleAssetName")

generateBundledResourcesHash = tasks.create(
Expand Down

0 comments on commit 7a919e3

Please sign in to comment.