mirror of
https://github.com/github/codeql.git
synced 2026-03-01 05:13:41 +01:00
Java: Account for the repo move in NonSecurityTestClass.
This commit is contained in:
@@ -7,6 +7,7 @@ class NonSecurityTestClass extends TestClass {
|
||||
NonSecurityTestClass() {
|
||||
not exists(RefType s | this.getASupertype*().getSourceDeclaration() = s and s.fromSource() |
|
||||
s.getLocation().getFile().getAbsolutePath().matches("%semmle%") or
|
||||
s.getLocation().getFile().getAbsolutePath().matches("%ql/java/ql/test/%") or
|
||||
s.getLocation().getFile().getAbsolutePath().matches("%CWE%")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user