Skip to content

Commit 027f08a

Browse files
committed
Add groovy-stubs/test to list of directory names to ignore in model generator.
1 parent d975ceb commit 027f08a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ private J::Method superImpl(J::Method m) {
2929
private predicate isInTestFile(J::File file) {
3030
file.getAbsolutePath().matches("%src/test/%") or
3131
file.getAbsolutePath().matches("%/guava-tests/%") or
32-
file.getAbsolutePath().matches("%/guava-testlib/%")
32+
file.getAbsolutePath().matches("%/guava-testlib/%") or
33+
file.getAbsolutePath().matches("%/groovy-stubs/test/%")
3334
}
3435

3536
private predicate isJdkInternal(J::CompilationUnit cu) {

0 commit comments

Comments
 (0)