Skip to content

Commit 13d071f

Browse files
committed
Don't respond with error on abort
1 parent 83e6d8d commit 13d071f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/turbo_boost/commands/runner.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def command_aborted?
7777
end
7878

7979
def command_errored?
80-
!!(command_instance&.errored? || error)
80+
return false if command_aborted?
81+
command_instance&.errored? || error.present?
8182
end
8283

8384
def command_performing?

0 commit comments

Comments
 (0)