aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2015-09-16 10:22:26 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-09-16 15:15:42 +0000
commit4b004af62ac37aee0b5fcac1fbba672130c559ac (patch)
tree4b111c4c17541b3a0217715aae5ff28f171992b5 /src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java
parent6885134ffeb6daf9a6bd70a836813aab55a9c8e4 (diff)
Change checkRuntime to take a CommandEnvironment instead.
I wanted to merge it into beforeCommand, but the reporter isn't set up yet when we call beforeCommand. Hopefully we can refactor the code to merge it in the future. -- MOS_MIGRATED_REVID=103179268
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java
index cb0a0f95a0..b43e0cea32 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcher.java
@@ -361,7 +361,7 @@ public class BlazeCommandDispatcher {
System.setErr(new PrintStream(reporterOutErr.getErrorStream(), /*autoflush=*/true));
for (BlazeModule module : runtime.getBlazeModules()) {
- module.checkRuntime(runtime);
+ module.checkEnvironment(env);
}
if (commonOptions.announceRcOptions) {