Skip to content

Commit 40da7d4

Browse files
committed
ruby: make a predicate private
1 parent 4905a70 commit 40da7d4

File tree

1 file changed

+1
-1
lines changed
  • ruby/ql/lib/codeql/ruby/frameworks/rack/internal

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/rack/internal/Mime.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
private import codeql.ruby.ApiGraphs
22
private import codeql.ruby.DataFlow
33

4-
predicate mimeTypeMatches(string ext, string mimeType) {
4+
private predicate mimeTypeMatches(string ext, string mimeType) {
55
ext = ".123" and mimeType = "application/vnd.lotus-1-2-3"
66
or
77
ext = ".3dml" and mimeType = "text/vnd.in3d.3dml"

0 commit comments

Comments
 (0)