lib/tapioca/commands/abstract_dsl.rb in tapioca-0.12.0 vs lib/tapioca/commands/abstract_dsl.rb in tapioca-0.13.0
- old
+ new
@@ -173,13 +173,14 @@
unprocessable_compilers = compiler_map.select { |_, v| v.nil? }
unless unprocessable_compilers.empty?
message = unprocessable_compilers.map do |name, _|
- set_color("Error: Cannot find compiler '#{name}'", :red)
+ set_color("Warning: Cannot find compiler '#{name}'", :yellow)
end.join("\n")
- raise Thor::Error, message
+ say(message)
+ say("")
end
T.cast(compiler_map.values, T::Array[T.class_of(Tapioca::Dsl::Compiler)])
end