Skip to content

Commit ef260db

Browse files
committed
Fix singleton set literal
1 parent 71d703f commit ef260db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActiveSupport.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module ActiveSupport {
114114
}
115115

116116
private string getExtractComponent(MethodCall mc, int i) {
117-
mc.getMethodName() = ["extract!"] and
117+
mc.getMethodName() = "extract!" and
118118
result = DataFlow::Content::getKnownElementIndex(mc.getArgument(i)).serialize()
119119
}
120120

0 commit comments

Comments
 (0)