mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Ruby: Make helper predicate private
This commit is contained in:
@@ -607,7 +607,7 @@ class ActiveRecordAssociation extends DataFlow::CallNode {
|
||||
*/
|
||||
bindingset[input]
|
||||
bindingset[result]
|
||||
string pluralize(string input) {
|
||||
private string pluralize(string input) {
|
||||
exists(string stem | stem + "y" = input | result = stem + "ies")
|
||||
or
|
||||
not exists(string stem | stem + "s" = input) and
|
||||
|
||||
Reference in New Issue
Block a user