From 1fe52d1391b8b367e263943321909bef6cef4751 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 2 Jan 2024 14:42:38 +0000 Subject: [PATCH] Remove unnecessary Rake patch (#2214) --- sentry-ruby/lib/sentry/rake.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sentry-ruby/lib/sentry/rake.rb b/sentry-ruby/lib/sentry/rake.rb index 62e3b4bee..b6f4d0fcb 100644 --- a/sentry-ruby/lib/sentry/rake.rb +++ b/sentry-ruby/lib/sentry/rake.rb @@ -17,15 +17,6 @@ def display_error_message(ex) super end end - - module Task - # @api private - def execute(args=nil) - return super unless Sentry.initialized? && Sentry.get_current_hub - - super - end - end end end @@ -34,8 +25,4 @@ module Rake class Application prepend(Sentry::Rake::Application) end - - class Task - prepend(Sentry::Rake::Task) - end end