We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd16b4 commit f5c8437Copy full SHA for f5c8437
plugins/src/main/java/com/google/firebase/gradle/plugins/ci/AffectedProjectFinder.java
@@ -16,6 +16,7 @@
16
17
import com.google.common.collect.ImmutableSet;
18
import com.google.common.io.CharStreams;
19
+import com.google.common.io.Files;
20
import java.io.File;
21
import java.io.IOException;
22
import java.io.InputStreamReader;
@@ -63,7 +64,7 @@ private static boolean isDocFile(String path) {
63
64
if (path.startsWith("docs/")) {
65
return true;
66
}
- return DOC_EXTENSIONS.stream().anyMatch(ext -> path.endsWith("." + ext));
67
+ return DOC_EXTENSIONS.contains(Files.getFileExtension(path));
68
69
70
Set<Project> find() {
0 commit comments