Skip to content

Commit

Permalink
Merge branch 'feature/property-resolver' into testerra2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Reiche committed Oct 15, 2021
2 parents 550954f + 53fe2c0 commit d09c8b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Consumer;
import java.util.function.Function;
Expand Down Expand Up @@ -190,7 +191,7 @@ public Stream<File.Builder> buildScreenshot(Screenshot screenshot) {
screenshotBuilder.putMeta("sourcesRefId", sourceBuilder.getId());
fileBuilders[1] = sourceBuilder;
});
return Stream.of(fileBuilders);
return Stream.of(fileBuilders).filter(Objects::nonNull);
}

public File.Builder buildVideo(Video video) {
Expand Down

0 comments on commit d09c8b0

Please sign in to comment.