We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9277a5 commit 6a38223Copy full SHA for 6a38223
1 file changed
ruby/ql/src/utils/modeleditor/ModelEditor.qll
@@ -44,7 +44,7 @@ class Endpoint extends DataFlow::MethodNode {
44
// The nearest gemspec to this endpoint, if one exists
45
result = min(Gem::GemSpec g, int n | gemFileStep(g, folder, n) | g order by n).getName()
46
or
47
- not exists(Gem::GemSpec g | gemFileStep(g, folder, _)) and
+ not gemFileStep(_, folder, _) and
48
result = ""
49
)
50
}
0 commit comments