Skip to content

Commit 89fd969

Browse files
committed
codeql query format
1 parent 6e56c54 commit 89fd969

File tree

1 file changed

+3
-1
lines changed
  • ruby/ql/test/library-tests/frameworks/grape

1 file changed

+3
-1
lines changed

ruby/ql/test/library-tests/frameworks/grape/Grape.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import codeql.ruby.AST
55

66
query predicate grapeApiClasses(Grape::GrapeApiClass api) { any() }
77

8-
query predicate grapeEndpoints(Grape::GrapeApiClass api, Grape::GrapeEndpoint endpoint, string method, string path) {
8+
query predicate grapeEndpoints(
9+
Grape::GrapeApiClass api, Grape::GrapeEndpoint endpoint, string method, string path
10+
) {
911
endpoint = api.getAnEndpoint() and
1012
method = endpoint.getHttpMethod() and
1113
path = endpoint.getPath()

0 commit comments

Comments
 (0)