Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit cc5b20b

Browse files
committed
Eliminate method redefinition warnings
This gets rid of the following errors: ``` codeclimate-test-reporter-0.4.5/lib/code_climate/test_reporter/configuration.rb:28: warning: method redefined; discarding old logger codeclimate-test-reporter-0.4.5/lib/code_climate/test_reporter/configuration.rb:32: warning: method redefined; discarding old profile ```
1 parent 5a895e9 commit cc5b20b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/code_climate/test_reporter/configuration.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ def self.configuration
1919
end
2020

2121
class Configuration
22-
attr_accessor :branch, :logger, :profile, :path_prefix, :gzip_request, :git_dir
22+
attr_accessor :branch, :path_prefix, :gzip_request, :git_dir
23+
24+
attr_writer :logger, :profile
2325

2426
def initialize
2527
@gzip_request = true

0 commit comments

Comments
 (0)