lib/berkshelf/cli.rb in berkshelf-2.0.0 vs lib/berkshelf/cli.rb in berkshelf-2.0.1
- old
+ new
@@ -30,10 +30,10 @@
if @options[:config]
unless File.exist?(@options[:config])
raise ConfigNotFound.new(:berkshelf, @options[:config])
end
- Berkshelf::Config.path = @options[:config]
+ Berkshelf::Config.set_path(@options[:config])
end
if @options[:debug]
Berkshelf.logger.level = ::Logger::DEBUG
end