lib/scss_lint/cli.rb in scss-lint-0.20.3 vs lib/scss_lint/cli.rb in scss-lint-0.21.0
- old
+ new
@@ -1,7 +1,9 @@
require 'find'
require 'optparse'
+require 'rainbow'
+require 'rainbow/ext/string'
module SCSSLint
# Responsible for parsing command-line options and executing the appropriate
# application logic based on the options specified.
class CLI
@@ -102,10 +104,10 @@
puts ex.message
halt :usage
rescue => ex
puts ex.message
puts ex.backtrace
- puts 'Report this bug at '.yellow + BUG_REPORT_URL.cyan
+ puts 'Report this bug at '.color(:yellow) + BUG_REPORT_URL.color(:cyan)
halt :software
end
private