Skip to content

Commit

Permalink
Don't respond with error on abort
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed May 27, 2024
1 parent 83e6d8d commit 13d071f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/turbo_boost/commands/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def command_aborted?
end

def command_errored?
!!(command_instance&.errored? || error)
return false if command_aborted?
command_instance&.errored? || error.present?
end

def command_performing?
Expand Down

0 comments on commit 13d071f

Please sign in to comment.