Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Spelling correction
  • Loading branch information
hlovdal committed Oct 5, 2022
commit 85824824e3ef6d6c72aa99dc761a25d837a83e5f
4 changes: 2 additions & 2 deletions exe/arduino_ci.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def terminate(final = nil)
end

# make a nice status line for an action and react to the action
# TODO / note to self: inform_multline is tougher to write
# TODO / note to self: inform_multiline is tougher to write
# without altering the signature because it only leaves space
# for the checkmark _after_ the multiline, it doesn't know how
# to make that conditionally the body
Expand All @@ -112,7 +112,7 @@ def perform_action(message, multiline, mark_fn, on_fail_msg, tally_on_fail, abor
$stdout.flush
result = yield
mark = mark_fn.nil? ? "" : mark_fn.call(result)
# if multline, put checkmark at full width
# if multiline, put checkmark at full width
print endline if multiline
puts mark.to_s.rjust(WIDTH - line.length, " ")
unless result
Expand Down