Skip to content

Commit 142ab01

Browse files
committed
Remove comment line
1 parent e171123 commit 142ab01

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

javascript/ql/lib/semmle/javascript/frameworks/ApolloGraphQL.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ private module Apollo {
4242

4343
/** A string that is interpreted as a GraphQL query by a `graphql` package. */
4444
private class ApolloServer extends ApolloGraphQL::ApolloGraphQLServer {
45-
ApolloServer() {
46-
this = apollo().getAnInstantiation()
47-
// or this = apollo().getAnInstantiation().getOptionArgument(0, "cors")
48-
}
45+
ApolloServer() { this = apollo().getAnInstantiation() }
4946

5047
predicate isPermissive() {
5148
this.(DataFlow::NewNode)

0 commit comments

Comments
 (0)