Skip to content

Commit 70c01bf

Browse files
authored
Merge pull request #4415 from JohnnyKei/JohnnyKei-patch-1
fix indent
2 parents 8d41ec4 + c6a0d90 commit 70c01bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/graphql/schema/member/base_dsl_methods.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def mutation(mutation_class = nil)
102102
def default_graphql_name
103103
@default_graphql_name ||= begin
104104
raise GraphQL::RequiredImplementationMissingError, 'Anonymous class should declare a `graphql_name`' if name.nil?
105-
-name.split("::").last.sub(/Type\Z/, "") end
105+
-name.split("::").last.sub(/Type\Z/, "")
106+
end
106107
end
107108

108109
def visible?(context)

0 commit comments

Comments
 (0)