mirror of
https://github.com/github/codeql.git
synced 2026-07-02 18:15:33 +02:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -124,7 +124,7 @@ def m_sole
|
||||
sink(empty.sole)
|
||||
sink(single.sole) # $ hasValueFlow=a
|
||||
# TODO: model that 'sole' does not return if the receiver has multiple elements
|
||||
sink(multi.sole) # $ SPURIOUS: Unexpected result: hasValueFlow=b
|
||||
sink(multi.sole) # $ SPURIOUS: hasValueFlow=b
|
||||
end
|
||||
|
||||
m_sole()
|
||||
|
||||
Reference in New Issue
Block a user