File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/datadog/tracing/contrib/rack
sig/datadog/tracing/contrib/rack Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def infer(path)
2828 segments = path . delete_prefix ( '/' ) . split ( '/' , MAX_NUMBER_OF_SEGMENTS + 1 ) . first ( MAX_NUMBER_OF_SEGMENTS )
2929
3030 segments . map! do |segment |
31- next if segment . empty?
31+ next if segment . empty? # steep:ignore
3232
3333 case segment
3434 when INT_PARAM_REGEX then '{param:int}'
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ module Datadog
1313
1414 DATADOG_INFERRED_ROUTE_ENV_KEY: ::String
1515
16- def self.read_or_infer : (Hash[::String, untyped ] request_env) -> ::String?
16+ def self? .read_or_infer : (Hash[::String, untyped ] request_env) -> ::String?
1717
18- def self.infer : (::String path) -> ::String?
18+ def self? .infer : (::String path) -> ::String?
1919 end
2020 end
2121 end
You can’t perform that action at this time.
0 commit comments