Skip to content

Commit

Permalink
Fix buildType issue introduced in rebase (#23444)
Browse files Browse the repository at this point in the history
Summary:
While rebasing #18892, I missed that buildTypeName no longer existed.

[ANDROID] [Fixed] - Fix issue in react.gradle
Pull Request resolved: #23444

Differential Revision: D14078281

Pulled By: hramos

fbshipit-source-id: c2b3a1dccb890392f47ed93a3e1ac6e62e50999a
  • Loading branch information
hramos authored and facebook-github-bot committed Feb 14, 2019
1 parent 1cb34cb commit 7c9805c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ afterEvaluate {

enabled config."bundleIn${targetName}" != null
? config."bundleIn${targetName}"
: config."bundleIn${buildTypeName.capitalize()}" != null
? config."bundleIn${buildTypeName.capitalize()}"
: config."bundleIn${variant.buildType.name.capitalize()}" != null
? config."bundleIn${variant.buildType.name.capitalize()}"
: targetName.toLowerCase().contains("release")
}

Expand Down

0 comments on commit 7c9805c

Please sign in to comment.