mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Ruby: QL4QL fix
This commit is contained in:
@@ -44,7 +44,7 @@ class Endpoint extends DataFlow::MethodNode {
|
||||
// The nearest gemspec to this endpoint, if one exists
|
||||
result = min(Gem::GemSpec g, int n | gemFileStep(g, folder, n) | g order by n).getName()
|
||||
or
|
||||
not exists(Gem::GemSpec g | gemFileStep(g, folder, _)) and
|
||||
not gemFileStep(_, folder, _) and
|
||||
result = ""
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user