bin/rconf in rconf-0.5.8 vs bin/rconf in rconf-0.5.9
- old
+ new
@@ -92,10 +92,10 @@
report_fatal("Validation of configuration file failed:\n -#{lang.validation_errors.join("\n -").map(&:red)}") unless lang.validation_errors.empty?
Dir.chdir(File.dirname(options[:config])) { lang.configurators.each(&:run) }
report("Successfully configured #{File.basename(options[:config], '.rc').blue} for #{Platform.family.to_s.blue}")
rescue Exception => e
raise if e.is_a?(SystemExit)
- report_fatal("Execution failed with exception '#{e.message.red}'\n#{e.backtrace.join("\n").map(&:grey)}")
+ report_fatal("Execution failed with exception '#{e.message.red}'\n#{e.backtrace.join("\n").grey}")
ensure
lang.configurators.each { |c| report("\n!!NOTE: #{c.post_note}\n".green) if c.post_note }
end
end