Skip to content

Commit

Permalink
Retry initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mai93 committed Dec 14, 2020
1 parent 480f5ba commit 11e496b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ public ImmutableSet<Class<? extends FragmentOptions>> requiresOptionFragments()

@Override
public BuildOptions patch(BuildOptionsView options, EventHandler eventHandler) {
if (executionPlatform == null) {
// No execution platform is known, so don't change anything.
if (executionPlatform == null || options.get(CoreOptions.class).isExec) {
// If no execution platform is known or the input already comes from execution configuration,
// don't change anything and return the existing value.
return options.underlying();
}
return cache.applyTransition(
Expand Down

0 comments on commit 11e496b

Please sign in to comment.