lib/reek/configuration/app_configuration.rb in reek-1.6.6 vs lib/reek/configuration/app_configuration.rb in reek-2.0.0
- old
+ new
@@ -11,12 +11,12 @@
@has_been_initialized = false
class << self
attr_reader :configuration
- def initialize_with(application)
+ def initialize_with(options)
@has_been_initialized = true
- configuration_file_path = ConfigurationFileFinder.find(application)
+ configuration_file_path = ConfigurationFileFinder.find(options)
return unless configuration_file_path
load_from_file configuration_file_path
end
def configure_smell_repository(smell_repository)