From 166041e924ba9e46b20f070cdabbde923a0e3594 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Mon, 1 Jan 2024 11:59:22 +0000 Subject: [PATCH] Remove unnecessary Rake patch --- 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