Skip to content

Commit 02586b1

Browse files
Fix null pointer error in universequery logic
1 parent 0e033d5 commit 02586b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/bazel_diff/main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public Integer call() throws IOException {
230230
Boolean shouldHashAllSourceFiles = false;
231231
String universeQuery = "//...";
232232
if (exclusive != null) {
233-
if (exclusive.hashAllSourcefiles) {
233+
if (exclusive.hashAllSourcefiles != null) {
234234
shouldHashAllSourceFiles = exclusive.hashAllSourcefiles;
235235
} else {
236236
universeQuery = exclusive.universeRdepsQuery;

0 commit comments

Comments
 (0)