Commit 0826e332 authored by Phil Hughes's avatar Phil Hughes

Fixed failing rubocop

parent d6f208c6
......@@ -18,11 +18,12 @@ module Mutations
# This may be able to be done using InputUnions in the future
# if this RFC is merged:
# https://github.com/graphql/graphql-spec/blob/master/rfcs/InputUnion.md
if args[:position].to_hash.values_at(:old_line, :new_line).compact.blank?
raise Gitlab::Graphql::Errors::ArgumentError,
'position oldLine or newLine arguments are required'
end
super(**args)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment