File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
ruby/ql/lib/codeql/ruby/frameworks Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -146,22 +146,16 @@ module ActiveSupport {
146
146
private class PathnameTypeSummary extends ModelInput:: TypeModelCsv {
147
147
override predicate row ( string row ) {
148
148
// package1;type1;package2;type2;path
149
- row =
150
- [
151
- // Pathname#existence : Pathname
152
- ";Pathname;;Pathname;Method[existence].ReturnValue" ,
153
- ]
149
+ // Pathname#existence : Pathname
150
+ row = ";Pathname;;Pathname;Method[existence].ReturnValue"
154
151
}
155
152
}
156
153
157
154
/** Taint flow summaries for extensions to the `Pathname` module. */
158
155
private class PathnameTaintSummary extends ModelInput:: SummaryModelCsv {
159
156
override predicate row ( string row ) {
160
- row =
161
- [
162
- // Pathname#existence
163
- ";Pathname;Method[existence];Argument[self];ReturnValue;taint" ,
164
- ]
157
+ // Pathname#existence
158
+ row = ";Pathname;Method[existence];Argument[self];ReturnValue;taint"
165
159
}
166
160
}
167
161
You can’t perform that action at this time.
0 commit comments