Skip to content

Commit 692f5fa

Browse files
committed
⚠️ "assigned but unused variable - e"
1 parent 056fd42 commit 692f5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/annotate.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# ActiveSupport 3.x...
88
require 'active_support/hash_with_indifferent_access'
99
require 'active_support/core_ext/object/blank'
10-
rescue Exception => e
10+
rescue Exception
1111
# ActiveSupport 2.x...
1212
require 'active_support/core_ext/hash/indifferent_access'
1313
require 'active_support/core_ext/blank'
@@ -140,7 +140,7 @@ def self.eager_load(options)
140140
def self.bootstrap_rake
141141
begin
142142
require 'rake/dsl_definition'
143-
rescue Exception => e
143+
rescue Exception
144144
# We might just be on an old version of Rake...
145145
end
146146
require 'rake'

0 commit comments

Comments
 (0)