Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed May 27, 2022
1 parent 72209f9 commit 811218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/graphql/analysis/ast/query_complexity_spec.rb
Expand Up @@ -378,7 +378,7 @@ class DoubleComplexity < GraphQL::Schema::Object

class Query < GraphQL::Schema::Object
field :complexity, SingleComplexity do
argument :int_value, Int, required: false, prepare: -> (val, ctx) {
argument :int_value, Int, required: false, prepare: ->(val, ctx) {
if ctx[:raise_prepare_error]
raise GraphQL::ExecutionError, "Boom"
else
Expand Down

0 comments on commit 811218b

Please sign in to comment.