mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Ruby: autoformat
This commit is contained in:
@@ -16,9 +16,7 @@ module Erb {
|
||||
private class TemplateSummary extends SummarizedCallable {
|
||||
TemplateSummary() { this = "ERB.new" }
|
||||
|
||||
override MethodCall getACall() {
|
||||
result = any(ErbTemplateNewCall c).asExpr().getExpr()
|
||||
}
|
||||
override MethodCall getACall() { result = any(ErbTemplateNewCall c).asExpr().getExpr() }
|
||||
|
||||
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
|
||||
input = "Argument[0]" and output = "ReturnValue" and preservesValue = false
|
||||
|
||||
@@ -44,5 +44,6 @@ module TemplateInjection {
|
||||
* sanitizer-guard.
|
||||
*/
|
||||
private class StringConstArrayInclusionCallAsSanitizer extends Sanitizer,
|
||||
StringConstArrayInclusionCallBarrier { }
|
||||
StringConstArrayInclusionCallBarrier
|
||||
{ }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user