Skip to content

Commit

Permalink
fix: resolve rubocop errors in instrumentation generators (#1333)
Browse files Browse the repository at this point in the history
* fix: resolve Style/RedundantCurrentDirectoryInPath rubocop errors in instrumentation generator

* fix: resolve Layout/TrailingEmptyLines rubocop errors in instrumentation generator
  • Loading branch information
ymtdzzz authored Jan 13, 2025
1 parent 8bf09af commit 00d379c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .instrumentation_generator/templates/Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
# appraise 'rack-2.0' do
# gem 'rack', '2.0.8'
# end

2 changes: 1 addition & 1 deletion .instrumentation_generator/templates/lib/entrypoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#
# SPDX-License-Identifier: Apache-2.0

require_relative './opentelemetry/instrumentation'
require_relative 'opentelemetry/instrumentation'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ module OpenTelemetry
end
end

require_relative './instrumentation/<%= instrumentation_name %>'
require_relative 'instrumentation/<%= instrumentation_name %>'
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ module OpenTelemetry
end
end

require_relative './<%= instrumentation_name %>/instrumentation'
require_relative './<%= instrumentation_name %>/version'
require_relative '<%= instrumentation_name %>/instrumentation'
require_relative '<%= instrumentation_name %>/version'

0 comments on commit 00d379c

Please sign in to comment.