Skip to content

Commit 7d0303f

Browse files
authored
Merge pull request #4102 from obregonia1/master
modify indent
2 parents f4d99f6 + 2748b1d commit 7d0303f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

spec/graphql/schema/introspection_system_spec.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,12 @@ class Schema2 < GraphQL::Schema
246246
class HidingIntrospectionSchema < GraphQL::Schema
247247
module HideIntrospectionByContext
248248
def visible?(ctx)
249-
super && if introspection?
250-
!ctx[:hide_introspection]
251-
else
252-
true
253-
end
249+
super &&
250+
if introspection?
251+
!ctx[:hide_introspection]
252+
else
253+
true
254+
end
254255
end
255256
end
256257

0 commit comments

Comments
 (0)