Skip to content

Commit 6a38223

Browse files
committed
Ruby: QL4QL fix
1 parent e9277a5 commit 6a38223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/utils/modeleditor/ModelEditor.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Endpoint extends DataFlow::MethodNode {
4444
// The nearest gemspec to this endpoint, if one exists
4545
result = min(Gem::GemSpec g, int n | gemFileStep(g, folder, n) | g order by n).getName()
4646
or
47-
not exists(Gem::GemSpec g | gemFileStep(g, folder, _)) and
47+
not gemFileStep(_, folder, _) and
4848
result = ""
4949
)
5050
}

0 commit comments

Comments
 (0)