Skip to content

Commit 2748b1d

Browse files
committed
modify indent
1 parent f4d99f6 commit 2748b1d

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)