Skip to content

Commit 4272792

Browse files
RyanCommitsantonis
andauthored
Moving the enabled check into the .each block
Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>
1 parent 6ffd937 commit 4272792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/sentry.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ plugins.withId('com.android.application') {
100100
(task.name.startsWith("createBundle") || task.name.startsWith("bundle")) &&
101101
task.name.endsWith("JsAndAssets") &&
102102
!task.name.contains("Debug") &&
103-
task.enabled
104103
}.each { bundleTask ->
104+
if (!bundleTask.enabled) return
105105
def shouldCleanUp
106106
def sourcemapOutput
107107
def bundleOutput

0 commit comments

Comments
 (0)