lib/kpm/installer.rb in kpm-0.0.6 vs lib/kpm/installer.rb in kpm-0.0.7
- old
+ new
@@ -19,10 +19,10 @@
@logger.level = Logger::INFO
else
@logger = logger
end
- @nexus_config = @config['nexus']
+ @nexus_config = !@config.nil? ? @config['nexus'] : @kaui_config['nexus']
@nexus_ssl_verify = !@nexus_config.nil? ? @nexus_config['ssl_verify'] : true
end
def install
unless @config.nil?