bin/smoke_runner.rb in steep-0.1.0.pre vs bin/smoke_runner.rb in steep-0.1.0.pre2
- old
+ new
@@ -91,12 +91,16 @@
end
end
unless lines.empty?
lines.each do |line|
- puts Rainbow(" 🤦♀️ Unexpected error found: #{line}").red
+ if line =~ /:\d+:\d+:/
+ puts Rainbow(" 🤦♀️ Unexpected error found: #{line}").red
+ failed = true
+ else
+ puts Rainbow(" 🤦 Unexpected error found, but ignored: #{line}").yellow
+ end
end
- failed = true
end
end
if failed
exit(1)