Skip to content

Commit 97e9eab

Browse files
committed
Fix QL4QL error
1 parent d7f40c4 commit 97e9eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/ast/Method.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private class VisibilityModifier extends MethodModifier {
100100
this.getMethodName() = ["private", "private_class_method"] and
101101
result = "private"
102102
or
103-
this.getMethodName() = ["protected"] and
103+
this.getMethodName() = "protected" and
104104
result = "protected"
105105
}
106106
}

0 commit comments

Comments
 (0)