Skip to content

Commit a0eb401

Browse files
committed
remove needless variable
1 parent e9b9de2 commit a0eb401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def new_trace(**options)
991991
if defined?(@trace_options)
992992
options = trace_options.merge(options)
993993
end
994-
trace_mode = if (target = options[:query] || options[:multiplex]) && (use_backtrace = target.context[:backtrace])
994+
trace_mode = if (target = options[:query] || options[:multiplex]) && target.context[:backtrace]
995995
:default_backtrace
996996
else
997997
:default

0 commit comments

Comments
 (0)