mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Improve QL check for path match on netcore.app.ref in exluded assemblies
This commit is contained in:
@@ -12,9 +12,7 @@ class AllExternalPublicDeclarations extends GeneratedDeclaration {
|
||||
|
||||
/** All framework assemblies. */
|
||||
class NonTargetAssembly extends ExcludedAssembly {
|
||||
NonTargetAssembly() {
|
||||
exists(this.getFile().getAbsolutePath().indexOf("Microsoft.NETCore.App.Ref"))
|
||||
}
|
||||
NonTargetAssembly() { this.getFile().getAbsolutePath().matches("%Microsoft.NETCore.App.Ref%") }
|
||||
}
|
||||
|
||||
from Assembly a
|
||||
|
||||
Reference in New Issue
Block a user