Skip to content

Commit 9c67869

Browse files
committed
Remove ActionDispatch::capitalize
This predicate isn't used.
1 parent ad71fdb commit 9c67869

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -886,13 +886,6 @@ module ActionDispatch {
886886
.regexpReplaceAll("::Z", "/z"))
887887
}
888888

889-
/**
890-
* Convert the first character of the string to uppercase.
891-
* TODO: remove?
892-
*/
893-
bindingset[input]
894-
string capitalize(string input) { result = input.charAt(0).toUpperCase() + input.suffix(1) }
895-
896889
/**
897890
* Convert the first character of the string to lowercase.
898891
*/

0 commit comments

Comments
 (0)