diff options
author | Ulf Adams <ulfjack@google.com> | 2015-10-20 09:06:45 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2015-10-20 16:38:04 +0000 |
commit | 706b7f2430d7b32b2ab20bce20309a5f5f1699b2 (patch) | |
tree | 50d21db4add07a35d832c980fc2117c0c4f1ed98 /src/main/java/com/google/devtools/build/lib/runtime/commands | |
parent | b51461015186b3781205502cf2dc5c04edde686e (diff) |
Move the outputService field to the CommandEnvironment.
--
MOS_MIGRATED_REVID=105841398
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/commands')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java index 4b7b4e3c9f..63b7174cf9 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java @@ -125,8 +125,8 @@ public final class CleanCommand implements BlazeCommand { Path outputBase, Options cleanOptions, String symlinkPrefix) throws IOException, ShutdownBlazeServerException, CommandException, ExecException, InterruptedException { BlazeRuntime runtime = env.getRuntime(); - if (runtime.getOutputService() != null) { - runtime.getOutputService().clean(); + if (env.getOutputService() != null) { + env.getOutputService().clean(); } if (cleanOptions.expunge) { LOG.info("Expunging..."); |