DEV: Abort autospec on [ENTER], even if no specs have failed (#8320)

DEV: Abort autospec on [ENTER], even if no specs have failed (#8320)

When starting autospec, it says

Press [ENTER] to stop the current run

However, [ENTER] does nothing unless a spec has failed. Sometimes I want to abort anyway, so that the run is restarted.

diff --git a/lib/autospec/manager.rb b/lib/autospec/manager.rb
index 75ea4412a3..cefce3e76a 100644
--- a/lib/autospec/manager.rb
+++ b/lib/autospec/manager.rb
@@ -366,8 +366,9 @@ class Autospec::Manager
       puts
       puts
       if specs.length == 0
-        puts "No specs have failed yet! "
+        puts "No specs have failed yet! Aborting anyway"
         puts
+        abort_runners
       else
         puts "The following specs have failed:"
         specs.each { |s| puts s }

GitHub sha: cd57c3bf