mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Change isInTestFile to ignore %/test/%
This commit is contained in:
@@ -27,8 +27,7 @@ private J::Method superImpl(J::Method m) {
|
||||
}
|
||||
|
||||
private predicate isInTestFile(J::File file) {
|
||||
file.getAbsolutePath()
|
||||
.matches(["%src/test/%", "%/guava-tests/%", "%/guava-testlib/%", "%/groovy-stubs/test/%"])
|
||||
file.getAbsolutePath().matches(["%/test/%", "%/guava-tests/%", "%/guava-testlib/%"])
|
||||
}
|
||||
|
||||
private predicate isJdkInternal(J::CompilationUnit cu) {
|
||||
|
||||
Reference in New Issue
Block a user