Skip to content

Commit 5d4bf34

Browse files
Merge pull request #9 from Tinder/fix_silent_non_bazel_file_failure
Fix non-bazel & bazel file query error
2 parents 864b02e + b095bf2 commit 5d4bf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/bazel-diff/BazelClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public Set<String> queryForImpactedTestTargets(Set<String> impactedTargets) thro
5252
@Override
5353
public Set<BazelSourceFileTarget> convertFilepathsToSourceTargets(Set<Path> filepaths) throws IOException, NoSuchAlgorithmException {
5454
Set<BazelSourceFileTarget> sourceTargets = new HashSet<>();
55-
for (List<Path> partition : Iterables.partition(filepaths, 100)) {
55+
for (List<Path> partition : Iterables.partition(filepaths, 1)) {
5656
String targetQuery = partition
5757
.stream()
5858
.map(path -> path.toString())

0 commit comments

Comments
 (0)