Merge pull request #2458 from github/robertbrignull/common-vscode

Make assert-pure.ql ignore all /vscode/ directories
This commit is contained in:
Robert
2023-05-31 14:09:39 +01:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ class PureFile extends File {
this.getRelativePath().regexpMatch(".*/src/pure/.*") or this.getRelativePath().regexpMatch(".*/src/pure/.*") or
this.getRelativePath().regexpMatch(".*/src/common/.*") this.getRelativePath().regexpMatch(".*/src/common/.*")
) and ) and
not this.getRelativePath().regexpMatch(".*/src/common/vscode/.*") not this.getRelativePath().regexpMatch(".*/vscode/.*")
} }
} }