Skip to content

Commit

Permalink
Pass host_action_env to hostActionEnvironment attribute of host options
Browse files Browse the repository at this point in the history
  • Loading branch information
mai93 committed Dec 16, 2020
1 parent 798890b commit 40b804d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/jdeps_modules.golden
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ java.base
java.compiler
java.instrument
java.logging
java.management
java.naming
java.sql
java.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ public ImmutableSet<Class<? extends FragmentOptions>> requiresOptionFragments()

@Override
public BuildOptions patch(BuildOptionsView options, EventHandler eventHandler) {
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.
if (executionPlatform == null) {
// No execution platform is known, so don't change anything.
return options.underlying();
}
return cache.applyTransition(
Expand Down

0 comments on commit 40b804d

Please sign in to comment.