lib/lono/project_checker.rb in lono-4.2.4 vs lib/lono/project_checker.rb in lono-4.2.5

- old
+ new

@@ -14,19 +14,19 @@ app/definitions app/templates ] paths.each do |path| unless File.exist?("#{Lono.root}/#{path}") - puts "ERROR: The #{path} does not exist in this project. Are you sure you are in lono project?".colorize(:red) + puts "ERROR: The #{path} does not exist in this project. Are you sure you are in lono project?".color(:red) quit 1 end end end # Dont exit for this one. It's okay. But show a warning. def empty_templates if Dir["#{Lono.config.templates_path}/**/*"].empty? - puts "INFO: The app/templates folder does not contain any lono template definitions.".colorize(:yellow) + puts "INFO: The app/templates folder does not contain any lono template definitions.".color(:yellow) end end def quit(signal) if ENV['TEST'] == '1'