Make assert-pure.ql ignore all /vscode/ directories
This commit is contained in:
2
.github/codeql/queries/assert-pure.ql
vendored
2
.github/codeql/queries/assert-pure.ql
vendored
@@ -19,7 +19,7 @@ class PureFile extends File {
|
||||
this.getRelativePath().regexpMatch(".*/src/pure/.*") or
|
||||
this.getRelativePath().regexpMatch(".*/src/common/.*")
|
||||
) and
|
||||
not this.getRelativePath().regexpMatch(".*/src/common/vscode/.*")
|
||||
not this.getRelativePath().regexpMatch(".*/vscode/.*")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user