Skip to content

Commit

Permalink
Fixes rubocop frozen strings
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikspang committed Oct 11, 2024
1 parent 2dd4a32 commit eb12fa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require "sentry/rails/tracing/abstract_subscriber"

module Sentry
Expand Down Expand Up @@ -41,8 +43,6 @@ def self.subscribe!
end
end

private

def self.operation_name(event_name)
case
when READ_EVENT_NAMES.include?(event_name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require "spec_helper"

RSpec.describe Sentry::Rails::Tracing::ActiveSupportSubscriber, :subscriber, type: :request do
Expand Down

0 comments on commit eb12fa7

Please sign in to comment.