Skip to content

Commit 6bcab00

Browse files
Add single quotes to every query file line
1 parent 75fcaee commit 6bcab00

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
@@ -68,7 +68,7 @@ public Set<BazelSourceFileTarget> convertFilepathsToSourceTargets(Set<Path> file
6868
for (List<Path> partition : Iterables.partition(filepaths, 100)) {
6969
String targetQuery = partition
7070
.stream()
71-
.map(path -> path.toString())
71+
.map(path -> String.format("'%s'", path.toString()))
7272
.collect(Collectors.joining(" + "));
7373
List<Build.Target> targets = performBazelQuery(targetQuery);
7474
for (Build.Target target : targets) {

0 commit comments

Comments
 (0)