Skip to content

Commit 68d2a57

Browse files
authored
Fix linting (#639)
1 parent 36d1212 commit 68d2a57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mini_profiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def matches_action?(action, env)
417417
end
418418

419419
def action_parameters(env)
420-
query_params = Rack::Utils.parse_nested_query(env['QUERY_STRING'])
420+
Rack::Utils.parse_nested_query(env['QUERY_STRING'])
421421
end
422422

423423
def inject_profiler(env, status, headers, body)

lib/mini_profiler/actions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def serve_profile_memory(env, client_settings)
130130

131131
unless defined?(MemoryProfiler) && MemoryProfiler.respond_to?(:report)
132132
message = "Please install the memory_profiler gem and require it: add gem 'memory_profiler' to your Gemfile"
133-
status, headers, body = @app.call(env)
133+
_status, headers, body = @app.call(env)
134134
body.close if body.respond_to? :close
135135

136136
return client_settings.handle_cookie(

0 commit comments

Comments
 (0)