Skip to content

Commit

Permalink
Merge pull request #1604 from frnico33/fix-cc-issue
Browse files Browse the repository at this point in the history
Fix bugs when is used by codeclimate
  • Loading branch information
troessner authored Jul 4, 2021
2 parents aa28c52 + 7d2dda5 commit 464b63f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/code_climate_reek
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ class CodeClimateToReek
# we have to exit with a zero for both failure and success.
ENGINE_CONFIGURATION = [
'--failure-exit-code', '0',
'--success-exit-code', '0',
'.'
'--success-exit-code', '0'
].freeze

attr_reader :configuration_file_path, :include_paths_key, :include_paths_default

def initialize(configuration_file_path: '/config.json',
include_paths_key: 'include_paths',
include_paths_default: [])
include_paths_default: ['.'])
@configuration_file_path = configuration_file_path
@include_paths_key = include_paths_key
@include_paths_default = include_paths_default
Expand Down

0 comments on commit 464b63f

Please sign in to comment.