We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 712972c commit da8c745Copy full SHA for da8c745
ruby/ql/lib/codeql/ruby/frameworks/Rails.qll
@@ -131,7 +131,8 @@ private module Settings {
131
Setting() {
132
// exclude some test configuration
133
not isInTestConfiguration(this.getLocation()) and
134
- this.getReceiver+() instanceof Config::Node
+ this.getReceiver+() instanceof Config::Node and
135
+ this.asExpr().getExpr() instanceof SetterMethodCall
136
}
137
138
0 commit comments