lib/steep/drivers/print_interface.rb in steep-0.7.1 vs lib/steep/drivers/print_interface.rb in steep-0.8.0

- old
+ new

@@ -46,14 +46,17 @@ "no location" end puts " - #{Rainbow(method_type.to_s).red} (#{loc})" end end + 0 rescue Steep::Subtyping::Check::CannotResolveError stderr.puts "🤔 #{Rainbow(type.to_s).red} cannot be resolved to interface" + 1 end else stderr.puts "Pass a type name to command line" + 1 end end end end end