mirror of
https://github.com/github/codeql.git
synced 2026-03-04 06:36:46 +01:00
Java: annotate a query as not selecting sources
This is for performance in diff-informed mode but also for avoiding spurious entries in the code scanning timeline and alert list.
This commit is contained in:
@@ -46,6 +46,12 @@ module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
|
||||
}
|
||||
|
||||
predicate observeDiffInformedIncrementalMode() { any() }
|
||||
|
||||
Location getASelectedSourceLocation(DataFlow::Node source) {
|
||||
// This module is only used in `WebviewDebuggingEnabled.ql`, which doesn't
|
||||
// select the source in any "$@" column.
|
||||
none()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user