Skip to content

Commit

Permalink
Change formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Aug 5, 2017
1 parent ce5e932 commit e15a91e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/tty/spinner/multi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def register(pattern, options = {})
@create_spinner_lock.synchronize do
spinner.add_multispinner(self, @spinners.length)
@spinners << spinner
@spinners.each { |sp| sp.redraw_indent if sp.spinning? || sp.done? } unless @top_spinner.nil?
unless @top_spinner.nil?
@spinners.each { |sp| sp.redraw_indent if sp.spinning? || sp.done? }
end
end

spinner
Expand Down

0 comments on commit e15a91e

Please sign in to comment.