Skip to content

Commit 1fe52d1

Browse files
authored
Remove unnecessary Rake patch (#2214)
1 parent babdd55 commit 1fe52d1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

sentry-ruby/lib/sentry/rake.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ def display_error_message(ex)
1717
super
1818
end
1919
end
20-
21-
module Task
22-
# @api private
23-
def execute(args=nil)
24-
return super unless Sentry.initialized? && Sentry.get_current_hub
25-
26-
super
27-
end
28-
end
2920
end
3021
end
3122

@@ -34,8 +25,4 @@ module Rake
3425
class Application
3526
prepend(Sentry::Rake::Application)
3627
end
37-
38-
class Task
39-
prepend(Sentry::Rake::Task)
40-
end
4128
end

0 commit comments

Comments
 (0)