bin/rconf in rconf-0.7.8 vs bin/rconf in rconf-0.7.9
- old
+ new
@@ -156,9 +156,10 @@
ProgressReporter.report_to_stdout
ProgressReporter.report_to_file(options[:output]) if options[:output]
begin
lang = Language.load(options[:config])
report_fatal("Validation of configuration file failed:\n -#{lang.validation_errors.join("\n -").map(&:red)}") unless lang.validation_errors.empty?
+ report_error(lang.warnings.join(', ').green) unless lang.warnings.empty?
aborted = false
Dir.chdir(File.dirname(options[:config])) do
lang.configurators.each do |c|
c.run
break if aborted = c.aborting