lib/lono/sequence.rb in lono-4.2.4 vs lib/lono/sequence.rb in lono-4.2.5
- old
+ new
@@ -1,7 +1,6 @@
require 'fileutils'
-require 'colorize'
require 'active_support/core_ext/string'
require 'thor'
require 'bundler'
class Lono::Sequence < Thor::Group
@@ -17,10 +16,10 @@
unless File.exist?(template_folder)
templates = Dir.glob("#{starter_projects}/*")
.select { |f| File.directory?(f) }
.map { |f| " #{File.basename(f)}" }
.sort
- puts "The TEMPLATE=#{ENV['TEMPLATE']} you specified does not exist.".colorize(:red)
+ puts "The TEMPLATE=#{ENV['TEMPLATE']} you specified does not exist.".color(:red)
puts "The available templates are:\n#{templates.join("\n")}"
exit
end
template_folder
end