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 df9e0df commit 20b851aCopy full SHA for 20b851a
1 file changed
ql/lib/codeql/ruby/ast/Erb.qll
@@ -235,12 +235,10 @@ class ErbOutputDirective extends ErbDirective {
235
* ```
236
*/
237
class ErbExecutionDirective extends ErbDirective {
238
+ private Erb::Directive g;
239
+
240
ErbExecutionDirective() {
- not (
- this instanceof ErbCommentDirective or
241
- this instanceof ErbGraphqlDirective or
242
- this instanceof ErbOutputDirective
243
- )
+ this = TDirective(g)
244
}
245
246
final override string toString() { result = "<%" + this.getToken().toString() + "%>" }
0 commit comments