Skip to content

Commit 606d601

Browse files
committed
qlformat
1 parent d09f6d3 commit 606d601

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

ruby/ql/lib/codeql/ruby/Concepts.qll

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ module SqlExecution {
7878
}
7979
}
8080

81+
/**
82+
* A data-flow node that performs SQL sanitization.
83+
*/
84+
class SqlSanitization extends DataFlow::Node instanceof SqlSanitization::Range { }
85+
86+
/** Provides a class for modeling new SQL sanitization APIs. */
87+
module SqlSanitization {
8188
/**
82-
* A data-flow node that performs SQL sanitization.
89+
* A data-flow node that performs SQL sanitization.
8390
*/
84-
class SqlSanitization extends DataFlow::Node instanceof SqlSanitization::Range { }
85-
86-
/** Provides a class for modeling new SQL sanitization APIs. */
87-
module SqlSanitization {
88-
/**
89-
* A data-flow node that performs SQL sanitization.
90-
*/
91-
abstract class Range extends DataFlow::Node { }
92-
}
91+
abstract class Range extends DataFlow::Node { }
92+
}
9393

9494
/**
9595
* A data-flow node that executes a regular expression.

ruby/ql/lib/codeql/ruby/frameworks/Sqlite3.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ module Sqlite3 {
9999
input = "Argument[0]" and output = "ReturnValue" and preservesValue = false
100100
}
101101
}
102-
}
102+
}

0 commit comments

Comments
 (0)