Ruby: autoformat

This commit is contained in:
Alex Ford
2023-03-17 11:49:10 +00:00
parent 76ed56d2b6
commit c12a85b07b
2 changed files with 3 additions and 4 deletions

View File

@@ -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

View File

@@ -44,5 +44,6 @@ module TemplateInjection {
* sanitizer-guard.
*/
private class StringConstArrayInclusionCallAsSanitizer extends Sanitizer,
StringConstArrayInclusionCallBarrier { }
StringConstArrayInclusionCallBarrier
{ }
}