mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Manual neutral summaries should block generated summaries
This commit is contained in:
@@ -528,6 +528,10 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
|
||||
exists(Provenance provenance |
|
||||
summaryElement(this, input, output, kind, provenance) and
|
||||
provenance.isGenerated()
|
||||
) and
|
||||
not exists(Provenance provenance |
|
||||
neutralElement(this, "summary", provenance) and
|
||||
provenance.isManual()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user