Fix android build ignoring `instabugUploadEnable` property
@@ -51,7 +51,7 @@ task upload_sourcemap(type: Exec) {
tasks.whenTaskAdded { task ->
if (task.name == 'preReleaseBuild' &&
- rootProject.hasProperty("instabugUploadEnable") ? rootProject.instabugUploadEnable : true) {
+ (rootProject.hasProperty("instabugUploadEnable") ? rootProject.instabugUploadEnable : true)) {
task.dependsOn upload_sourcemap
}
}
