Fix BEP failing to report Artifacts in an output set which includes Filesets.
PiperOrigin-RevId: 252948005
diff --git a/src/main/java/com/google/devtools/build/lib/actions/CompletionContext.java b/src/main/java/com/google/devtools/build/lib/actions/CompletionContext.java
index beb7a30..ae63c83 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/CompletionContext.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/CompletionContext.java
@@ -59,7 +59,7 @@
if (artifact.isMiddlemanArtifact() || artifact.isFileset()) {
// We never want to report middleman artifacts. They are for internal use only.
// Filesets are not currently supported, but should be in the future.
- return;
+ continue;
} else if (artifact.isTreeArtifact()) {
List<Artifact> expandedArtifacts = new ArrayList<>();
expander().expand(artifact, expandedArtifacts);