Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 7a919e3

Browse files
created needed directories before accessing them (#2156)
Co-authored-by: MikhailSuendukov <110986399+MikhailSuendukov@users.noreply.github.com>
1 parent ad6e88c commit 7a919e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

android/codepush.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ gradle.projectsEvaluated {
5959
if (reactBundleTask) {
6060
jsBundleDir = reactBundleTask.property('jsBundleDir').asFile.get()
6161
resourcesDir = reactBundleTask.property('resourcesDir').asFile.get()
62+
63+
new File(jsBundleDir).mkdirs()
64+
new File(resourcesDir).mkdirs()
65+
6266
jsBundleFile = file("$jsBundleDir/$bundleAssetName")
6367

6468
generateBundledResourcesHash = tasks.create(

0 commit comments

Comments
 (0)