diff options
author | 2016-08-10 09:49:00 +0000 | |
---|---|---|
committer | 2016-08-10 13:54:57 +0000 | |
commit | 18f005bde9a6b85167be9f899ab4abfb888fc4d8 (patch) | |
tree | 2593df7c714489cf25e4999bd6964231d8e901d3 /src/main/java/com/google/devtools/build/lib/runtime | |
parent | 7e71f89f5ac0ef826fc1b9474155197946b031d3 (diff) |
Added support for null terminated queries.
Closes #1496.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1496
MOS_MIGRATED_REVID=129846158
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java index f3470d6015..1e587d787a 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java @@ -46,7 +46,6 @@ import com.google.devtools.build.lib.vfs.FileSystemUtils; import com.google.devtools.build.lib.vfs.Path; import com.google.devtools.common.options.OptionsParser; import com.google.devtools.common.options.OptionsProvider; - import java.io.IOException; import java.io.PrintStream; import java.nio.channels.ClosedByInterruptException; @@ -163,7 +162,7 @@ public final class QueryCommand implements BlazeCommand { streamedFormatter.setOptions( queryOptions, queryOptions.aspectDeps.createResolver(env.getPackageManager(), env.getReporter())); - callback = streamedFormatter.createStreamCallback(output); + callback = streamedFormatter.createStreamCallback(output, queryOptions); } else { callback = new AggregateAllOutputFormatterCallback<>(); } |